In sun Solaris password length by default 8 character
====================================================
i have found a question. the question is bellows
How to set root password to 13 Character.
As it is 8 Characters now i want to give 13 chartectes for the root password.
I had given 13 Characters , but it is checking for 8 Character and after 8 Character
if i give wrong also passwd its logging in.. pl help me out how to fix
this on solaris sunfire systems.
Solution
=========
Using Solaris with the default configuration, your password can’t be more than 8 characters. or your password ignore the characters after 8 digit.
This is due to the default crypt algorythm used to store passwords in the /etc/shadow file.
This crypt algorythm can be changed. There are a few algorythms available by default in Solaris. To know about them, have a look at /etc/security/crypt.conf
root# !% 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 want to 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
CRYPT_DEFAULT=__unix__
to
CRYPT_DEFAULT=md5
We did {insert item} and it failed!
1 day ago
No comments:
Post a Comment