Operating System - HP-UX
1753541 Members
5476 Online
108795 Solutions
New Discussion юеВ

Re: Changing minimum password length

 
SOLVED
Go to solution
PamelaJThrasher
Regular Advisor

Changing minimum password length

Hello
We are being asked to change the minimum password length on our HP-UX 11.31 servers to 8 characters.

When we implement this change, what will happen to the accounts where the password does not meet this criteria?

Thanks in advance for your help.
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: Changing minimum password length

It already is 8 characters. See the "Password Construction Requirements" of the passwd man page.


Pete

Pete
Pete Randall
Outstanding Contributor

Re: Changing minimum password length

Oh! Minimum!

See the man page for security (/etc/default/security).




Pete

Pete
Pete Randall
Outstanding Contributor
Solution

Re: Changing minimum password length

And finally, existing accounts will have their passwords remain the same until changed, then they must meet the new requirements.


Pete

Pete
Sani
Frequent Advisor

Re: Changing minimum password length

Hi

Edit/Create the file /etc/default/security and put an entry

MIN_PASSWORD_LENGTH=8


FYI

other usefull parameters are
SU_ROOT_GROUP=
MAX_PASSWORD_LENGTH=
PASSWORD_HISTORY_DEPTH=
PASSWORD_MIN_UPPER_CASE_CHARS=
PASSWORD_MIN_LOWER_CASE_CHARS=
PASSWORD_MIN_DIGIT_CHARS=
PASSWORD_MAXDAYS=
PASSWORD_MINDAYS=
PASSWORD_WARNDAYS=


Regards
Sani

PamelaJThrasher
Regular Advisor

Re: Changing minimum password length

.