Hi Guys,
I am using CentOS 6. I am triyng to modify setup such that the password must be changed every 30 days and have a minimum lenght of 6 . I've modified the /etc/login.defs file but it is not working.
And the other way around is /etc/pam.d/passwd but no success.
Can anyone suggest me the way to do it..
Thanks in Advance..
[SOLVED] Minimum Length Password
Re: Minimum Length Password
resolved:-
vi /etc/pam.d/passwd
in that:-
password required pam_cracklib.so minlen=7 retry=3
#password include system-auth
vi /etc/pam.d/passwd
in that:-
password required pam_cracklib.so minlen=7 retry=3
#password include system-auth
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
[SOLVED] Minimum Length Password
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
Thanks for reporting back with your solution. Marking this thread [SOLVED] for posterity.
Thanks for reporting back with your solution. Marking this thread [SOLVED] for posterity.