Re: [SLUG] changing password

From: Ian C. Blenke (icblenke@nks.net)
Date: Mon Nov 18 2002 - 11:56:13 EST


On Monday 18 November 2002 08:43, Mike Manchester wrote:
> Does anyone know how to turn of the checking of a password based on a
> dictionary word in RedHat? When I try to change a password in Redhat I
> get the message that it's a bad password it's based on a dictionary
> word. This is only on one of my Redhat systems. The other systems let me
> change the password with out any problem.
> Thanks
> Mike M.

Change the password as root.
        
        $ su - root
        Password:
        # passwd mchester
        Password:

Alternatively, edit your pam configuration:

        $ vi /etc/pam.d/passwd

find the line with "pam_cracklib.so" and comment it out.

You can also just run these two commands to do the same:

        # sed -e 's/^.*pam_cracklib.so/#&/' < /etc/pam.d/passwd > /tmp/passwd
        # cat /tmp/passwd > /etc/pam.d/passwd

See if that doesn't let you change your password.

-- 
- Ian C. Blenke <icblenke@nks.net>

(This message bound by the following: http://www.nks.net/email_disclaimer.html)



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:59:54 EDT