Showing results for 
Search instead for 
Did you mean: 

user account management

Super Advisor

user account management to check user account last password change date

2.need to create the user account with the name of selva..but we remove one user account ..but on that time we not remove the home is possible to. Change the home directory name



P.S. This thread has been moved from general to HP-UX > sysadmin. - Hp Forum moderator

Super Advisor

Re: user account management

How to check last account locked date
Occasional Visitor

Re: user account management

Trusted System:

/usr/lbin/getprpw -r -m alock,lockout,culogin,ulogint someuser

##where alock =administrator lock, lockout =reason for a lockout, culogin =consecutive number of unsuccessful logins so far, and ulogint =time of last unsuccessful login


Non-Trusted System:

/usr/bin/passwd -r files -s someuser

##where PS =passworded; LK =locked; and NP =no password.


check man pages for getprpw(1M) and passwd(1) for more details.

I work for HP
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details