Link to home
Start Free TrialLog in
Avatar of Francis Lai
Francis Lai

asked on

setup password complexity

I am using RHEL 3
I tried to implement the password complexity to my server by using the following entry in /etc/pam.d/system-auth
password    required      /lib/security/$ISA/pam_cracklib.so retry=3 minlen=8 dcredit=-1 ucredit=-1 lcredit=-1 ocredit=-1 difok=2

However, it seems not taking any effect.
I tried by making change on my 'root' password by following command:
# passwd
I still can change the password to a simple one such as 'abc'
ASKER CERTIFIED SOLUTION
Avatar of Steven Vona
Steven Vona
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Use the following directive in /etc/pam.d/passwd

enforce=everyone


Cheers!!!
Hi francis_lai,

Have you tried the above work around? Thought it will work.

Cheers!!!