Operating System - HP-UX
1833891 Members
2216 Online
110063 Solutions
New Discussion

Re: Password aging policies

 
rajasekar.m
Advisor

Password aging policies

Hi,

Need to know the commands to check the password aging policies for all the users in trusted and non-trusted environment in hp-ux.

please provide the exact commands to check.

regards
raj
3 REPLIES 3
Tingli
Esteemed Contributor

Re: Password aging policies

For non-trusted environment, the command is:

/bin/passwd -s $USERNAME
$USERNAM PS 09/02/08 21 91 7

in it, the date is the time the password was modified. nd 91 is the expiring days, 7 and 21 are for minimum password change days and warning days. (forget which one is for which one)

For trusted servers, it is defined in file /etc/default/security
PASSWORD_HISTORY_DEPTH=10
NUMBER_OF_LOGINS_ALLOWED=0
MIN_PASSWORD_LENGTH=8
PASSWORD_MINDAYS=7
PASSWORD_MAXDAYS=90
PASSWORD_WARNDAYS=21


rajasekar.m
Advisor

Re: Password aging policies

Hi,

How to get the list of users whose password aging is disabled in trusted and non-trusted system using script.

Thanks in Advance
Tingli
Esteemed Contributor

Re: Password aging policies

Only know about non-trusted system. Where there is no number after it, then it means password aging is disabled.

$USER PS