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
Honored Contributor

Re: Disabling strong passwords

Please see:

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 (= an algorithmic quality checker) or (= a dictionary checker).

The 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 completely, because it's the module responsible for actually reading/writing /etc/passwd and /etc/shadow in the first place.

Occasional Advisor

Re: Disabling strong passwords

Please see the Link:

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