Discussion Locked

How do I change password rules?

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Solaris 2.6 - Is there a tool or file I can edit that changes the password rules from the default. That is, the parameters for type of characters (alpha, numeric, or mixed), how long the minimum password length is, how many previous passwords are remembered, etc.? Admintool lets me set the aging but I need to "shape" the passwords that users can choose. Currently using /etc/passwd and /etc/shadow files. Thanks!!!

Regards,
David

5 replies

by marco milo

To set the minimum password length you can set the value in the file /etc/default/passwd. You can raise this value to 8, but remember that for passwords with more than 8 characters only the first 8 characters are significant.

I hope that i could be useful,
bye,
Marco.

by scifiman

Do happen to know the format, and keywords that can be used in this file? I haven't been able to find it in documentation.

Thanks,
David

This discussion is closed to new replies.