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. Answer: 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
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
You can go into thepolicy.conf file and changed these two lines: FROM: #CRYPT_ALGORITHMS_DEPRECATE=__unix__
TO: (uncomment) CRYPT_ALGORITHMS_DEPRECATE=__unix__
In AIX 5.3 TL9, to change the password algorithm to have more than 8: I can only tell you what I know. Here's an extract from the /etc/security/user file (albeit on TL8): Code: * minlen Defines
the minimum length of a password. The default is 0.
Have a look at yours and see what it says. (all assuming you are using the usual local user authentication)
Have a Unix Problem
Unix Books :-
Return to : - Unix System Administration Hints and Tips (c) www.gotothings.com All material on this site is Copyright.
|