cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling strong passwords

Waqar Razi
Regular Advisor

Disabling strong passwords

We have rhel 5.1 at one of our customers and they want to disable strong passwords. Like users can choose dicstionary or easy passwords.

Can some one please provide me the procedure to do that?

Thanks in advance
2 REPLIES
Matti_Kurkela
Honored Contributor

Re: Disabling strong passwords

Please see:

http://www.cyberciti.biz/faq/rhel-fedora-centos-linux-password-quality-control/

To disable password quality checking, edit
/etc/pam.d/system-auth. Review all lines beginning with the keyword "password". Comment out the lines that refer to pam_passwdqc.so (= an algorithmic quality checker) or pam_cracklib.so (= a dictionary checker).

The pam_unix.so module may also set some password requirements, so check its options (use the command "man pam_unix" to find out what they mean). For example, "remember=N" would make the system remember N previous passwords for each user and prevent the user from using them again.

Do not disable pam_unix.so completely, because it's the module responsible for actually reading/writing /etc/passwd and /etc/shadow in the first place.

MK
MK
GUNASEKARAN_1
Occasional Advisor

Re: Disabling strong passwords

Hi
Please see the Link:
http://linux.die.net/man/8/pam_passwdqc

please check and give me an update whether its useful or not