|« Number of graphical objects in MS Windows XP||F10 in Hyperterminal... »|
Solaris 10 password length limitation
Here is a weird thing… Using Solaris with the default configuration, your password can’t be more than 8 characters.
Let’s have an example.
One of the server (sunsol) user login is “spongebob“. His password is “garyNpatrick“. When connecting to the server, the user can log entering only “garyNpat” as a password.
This is due to the default crypt algorythm used to store passwords in the
This crypt algorythm can be changed. There are a few algorythms available by default in Solaris. To know about them, have a look at
root@sunsol !% cat /etc/security/crypt.conf # # Copyright 2002 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # #ident "@(#)crypt.conf 1.1 02/06/07 SMI" # # The algorithm name __unix__ is reserved. 1 crypt_bsdmd5.so.1 2a crypt_bsdbf.so.1 md5 crypt_sunmd5.so.1
You may wanna choose
md5 to enhance the security of passwords on the server. To do so, edit the
/etc/security/policy.conf file and modify the
CRYPT_DEFAULT parameter from
Ask spongebob to reset his password, and he will no longer be able to log in entering only the 8 first chars of his password
That’s very interesting..I’ll be looking forward to your post again.
very nice, thanks , its helps me great.
And what is the max password lenth for md5?
Once you increase password length can you enforce different password lengths for Users & Root
Thankyou very much for sharing this!
This post has 1 feedback awaiting moderation...