Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limiting passwords in Solaris

Status
Not open for further replies.
Jun 18, 2001
21
US
Is it possible to limit the characters within a password? In HP-UX and AIX, you are able to limit:
1. requires at least X Upper and Lower case letters,
2. requires at least X special characters,
3. requires at least X numbers, etc.

The file /etc/default/passwd allos us to set password aging, but how do you set password security?

My UNIX admins know all about making their passwords difficult to guess. It is my DBAs who like to use passwords like: 'oracle' or 'password' or 'welcome'.

Any suggestions?
 
According to the man page for [tt]passwd[/tt]...
[tt]
Passwords must be constructed to meet the following require-
ments:

o Each password must have PASSLENGTH characters, where
PASSLENGTH is defined in /etc/default/passwd and is
set to 6. Only the first eight characters are signifi-
cant.

o Each password must contain at least two alphabetic
characters and at least one numeric or special charac-
ter. In this case, "alphabetic" refers to all upper or
lower case letters.

o Each password must differ from the user's login name
and any reverse or circular shift of that login name.
For comparison purposes, an upper case letter and its
corresponding lower case letter are equivalent.

o New passwords must differ from the old by at least
three characters. For comparison purposes, an upper
case letter and its corresponding lower case letter
are equivalent.
[/tt]
Also, password expiration and aging are set with the [tt]passwd[/tt] command or via [tt]/etc/default/passwd[/tt].

Hope this helps.

 
Thank you.

Imissed the last paragraph about upper and lower case letters being treaeted the same.

Any idea on how to force a special character?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top