PAM and login.conf the login process

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed May 17 07:06:27 PDT 2006


Sean Murphy <smurphy at calarts.edu> writes:

> I am trying to understand how users login and what does the system do 
> specifically with validating the passwords and change passwords.
>
> when I login at the console is the login/password information passed to 
> PAM and does PAM check the login.conf for certain characteristics and 
> then check the password file? Or does the login.conf only apply after 
> the user has logged in?
>
> Does the login.conf effect only shell accounts or can PAM check the 
> login.conf to see if a user meets the minimum password change requirements?
>
> For example I am using poppassd for users to change there passwords. 
> The minimum is set in the login.conf for 6 characters.  If the user 
> types less then 6 for his password will it error or reject the request? 
>  Or does the login.conf only apply when in shell and not through daemons.

That is up to each of those daemons.  These days, many can be
configured either way.


More information about the freebsd-questions mailing list