cancel
Showing results for 
Search instead for 
Did you mean: 

user account management

rajesh73
Super Advisor

user account management

1.how 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 directory.it is possible to. Change the home directory name

 

 

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

2 REPLIES
rajesh73
Super Advisor

Re: user account management

How to check last account locked date
db13
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