System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to find user with non expiring password

SOLVED
Go to solution
anu_1_1
Occasional Contributor

How to find user with non expiring password

How can we find the users with non expiring password in HP-UNIX , Like in Linux if the 5th parameter of /etc/shadow is 99999
2 REPLIES
Steven E. Protter
Exalted Contributor
Solution

Re: How to find user with non expiring password

Shalom,

passwd -sa

Provides a complete report including next expiration. If there is a user with no expiration it will be obvious.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
anu_1_1
Occasional Contributor

Re: How to find user with non expiring password

Thanks so much for the answer, is there any similar command in AIX and Linux also...