[SOLVED] Minimum Length Password

Issues related to configuring your network
Post Reply
Anish
Posts: 2
Joined: 2011/10/04 21:02:46

[SOLVED] Minimum Length Password

Post by Anish » 2011/10/04 21:15:04

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..

Anish
Posts: 2
Joined: 2011/10/04 21:02:46

Re: Minimum Length Password

Post by Anish » 2011/10/04 22:46:58

resolved:-

vi /etc/pam.d/passwd

in that:-

password required pam_cracklib.so minlen=7 retry=3
#password include system-auth

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

[SOLVED] Minimum Length Password

Post by pschaff » 2011/10/06 21:51:43

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.

Post Reply