[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Passwords



On Thu, May 13, 1999 at 10:48:30AM -0300, Psychotron wrote:
> 	I'm having a problem when changing passowords...I would like that all my
> users could have the ability to change their passwords to anything that
> they want, (including what would be considered bad passwords, like less
> than 6 characters, not including non-letters etc..)
> 	Is there any way to configure my Linux to allow this?

	Read the bits in the RH manual about PAM... specifically,
the file /etc/pam.d/passwd is the one your looking for.  The file
should look like this:

*** Snip from /etc/pam.d/passwd ***
#%PAM-1.0
auth       required /lib/security/pam_pwdb.so shadow nullok
account    required /lib/security/pam_pwdb.so
password   required /lib/security/pam_cracklib.so retry=3
password   required /lib/security/pam_pwdb.so use_authtok nullok md5 shadow
*** End snip ***

	The line your looking for is the "password required /lib/security/
pam_craclib.so retry=3" line.  Removing that will get rid of all
bad password checking.

	I would recommend, though, that if you are doing this on a
publicly accessable machine you reconsider.  It's not that much
of a hassle to have minimally secure passwords, and cracklib will
still allow you to have one (you just have to enter it one more
time).  

	Just my $.02...

				Adam

-- 
+-------------------------------------------------------------------+
|  Adam Jacob - Cyber Trails     | "A monkey screams into an        |
|  Sr. Systems Administrator     |  ethernet cable, and Sendmail    |
|  <adam cybertrails com>        |  sends it somewhere."            |
+-------------------------------------------------------------------+
 Phone - (602)906-1752   Pager - (602)447-9531   Fax - (602)906-1799



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]