Operating System - HP-UX
1748015 Members
4485 Online
108757 Solutions
New Discussion

Re: Double check user password

 
mousa535
Occasional Contributor

Double check user password

Hi,

 

is there any scripts or any way to know which users on my system has a weak password or is not work with these polices

 

PASSWORD_MIN_LOWER_CASE_CHARS=1

PASSWORD_MIN_UPPER_CASE_CHARS=1

PASSWORD_MIN_DIGIT_CHARS=1

PASSWORD_MIN_SPECIAL_CHARS=0

PASSWORD_HISTORY_DEPTH=1

MIN_PASSWORD_LENGTH=7

 

my OS is 11.31 and it's on trusted mod, i don''t want to wait when the user password expired and then he change it depend on these polices.

 

Thanks

3 REPLIES 3
mousa535
Occasional Contributor

Re: Double check user password

Hi,

is there a method to show a warning message for any user login to my system except root

Ex.

"you mus change your password after 5 day"

Thanks
Henry Fauni
Valued Contributor

Re: Double check user password

I use /usr/sbin/logins -tuxo for my quarterly audit user report.

 

# man logins

 

to see the options you may be interested in.

Henry Fauni
Valued Contributor

Re: Double check user password

To give a warning to a user of pending password expiration, you can use the system wide policy.

 

You can use sam, then "Auditing and Security", "System Security Policies", then "Password Aging Policies", "Password Aging Policies", then you can set the "Password Expiration Warning Time (days):" value to whatever you want.