Operating System - HP-UX
1752582 Members
5267 Online
108788 Solutions
New Discussion юеВ

reseting password for a locked user in trusted computing

 
Sivakumar TS
Honored Contributor

reseting password for a locked user in trusted computing

Hi all,

An user password has expired in trusted computing mode and the account is locked now !

What is the procedure to reset the same?
Nothing is Impossible !
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor

Re: reseting password for a locked user in trusted computing

/usr/lbin/modprpw -k username # unlocks account
passwd username # reset the password

Man modprpw for details.
If it ain't broke, I can fix that.
Rainer von Bongartz
Honored Contributor

Re: reseting password for a locked user in trusted computing

you can use SAM's user and groups menue to unlock the account

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
HGN
Honored Contributor

Re: reseting password for a locked user in trusted computing

Hi

Before resetting the password the user id needs to be unlocked

for unlocking
#/usr/lbin/modprpw -k username

after this you can do a
#passwd username

Rgds

HGN

Christine Hartman
Valued Contributor

Re: reseting password for a locked user in trusted computing

if you want to reset the user's password and unlock their account and force them to change it upon next login use:
/usr/lbin/modprpw -x (login)
Christine Hartman
Valued Contributor

Re: reseting password for a locked user in trusted computing

if you want to reset the user's password and unlock their account and force them to change it upon next login use:
/usr/lbin/modprpw -x (login)

to just unlock it: /usr/lbin/modprpw -k (login)