increasing password length...
Anyone know how to increase the accepted password length in Solaris 9? I tried the /etc/default/passwd deal to increase from default to my desired amount (>twelve)
It didn't do the trick. Are there other things I can try without ripping apart the system? Thanks |
You can't as long as you use the standard unix crypt algorithm, which pick the first 8 letters of the password to build its hash.
To change, either use a different backend for authenticating users (e.g. ldap) or replace the algorithm used to encrypt /etc/shadow password fields by setting CRYPT_DEFAULT=X in /etc/security/policy.conf X=1 is for linux/bsd compatibility X=2a is for blowfish X=md5 is for ... md5 As all this is plugin based, you can even write your own plugin that demand say 32 minimal password length, and add it to the /etc/security/crypt.conf file ;) |
Thanks,
I went into thepolicy.conf file and chenged these two lines FROM: #CRYPT_ALGORITHMS_DEPRECATE=__unix__ CRYPT_DEFAULT=__unix__ TO: (uncomment) CRYPT_ALGORITHMS_DEPRECATE=__unix__ CRYPT_DEFAULT=__2a__ Now when I attempt to change password I receive a segmentation fault. |
__2a__ is wrong, its 2a.
|
thanks, that worked
|
All times are GMT -5. The time now is 09:18 AM. |