This is a discussion on Password Require within the Linux Security forums, part of the System Security and Security Related category; Hi, Anyone knows how to configure the linux that all account enforce a password for login? for example, in Sun ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 15 Dec 2004 01:03:13 -0800, tohks
<koksin@gmail.com> wrote: > Hi, > > Anyone knows how to configure the linux that all account enforce a > password for login? > > for example, in Sun Solaris we can actually do this by PASSREQ=YES in > /etc/default/login file > # /etc/pam.d/common-password - password-related modules common to all services # # This file is included from other service-specific PAM config files, # and should contain a list of modules that define the services to be #used to change user passwords. The default is pam_unix # The "nullok" option allows users to change an empty password, else # empty passwords are treated as locked accounts. # (Add `md5' after the module name to enable MD5 passwords) # # The "obscure" option replaces the old `OBSCURE_CHECKS_ENAB' option in # login.defs. Also the "min" and "max" options enforce the length of the # new password. -- "Cow fault??? Have you progressed from BSD to BSE?" cowsay -b "Prepare to be assimoolated! " |