Operating System - HP-UX
1753900 Members
7240 Online
108809 Solutions
New Discussion

Re: 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 2
rajesh73
Super Advisor

Re: user account management

How to check last account locked date
db13
HPE Pro

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 am an HPE Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HPE Support Center Knowledge-base

Accept or Kudo