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
Halim, a Georgia Tech graduate Senior Database Engineer/Data Architect based in Atlanta, USA, is an Oracle OCP DBA and Developer, Certified Cloud Architect Professional, and OCI Autonomous Database Specialist. With extensive expertise in database design, configuration, tuning, capacity planning, RAC, DG, scripting, Python, APEX, and PL/SQL, he combines technical mastery with a passion for innovation. Notably, Halim secured 16th place worldwide in PL/SQL Challenge Cup Playoff on the year 2010.
Sunday, March 27, 2011
Subscribe to:
Post Comments (Atom)
My Blog List
-
-
-
ASSM states3 weeks ago
-
UKOUG Discover 20241 month ago
-
-
-
-
-
-
-
-
Moving Sideways8 years ago
-
-
Upcoming Events...11 years ago
-
No comments:
Post a Comment