Pages

Thursday, February 23, 2012

How to enforce a 14 digit password in Solaris

By default, Solaris sets the password length to around 8 digits. Many IT security departments want at least 14 digit passwords. Longer passwords make the system more secure.

The Solaris 10 OS needs to have the following settings to enforce a 14 digit password.

In /etc/security/policy.conf change the following line from _unix_ to either 1 or md5.
CRYPT_DEFAULT =_unix_ To
CRYPT_DEFAULT =1
In /etc/default/passwd change the password length line from 8 to 14.
PASSLENGTH=8 To PASSLENGTH=14

2 comments:

  1. Password maintain is very important,because we are addicted with internet service,e- banking,online service like shopping and many more things.So it is best for us to use a strong and unique combination of letter, number,symbol is more safe than normal written password.

    ReplyDelete
    Replies
    1. Thank you for posting on my blog. There are more options for this file like you mentioned. I only put this very short how-to, because many Solaris admins like to tell security that setting a password over 8 characters is not possible.

      Delete