Re: user accounts reactivating (188 Views)
Reply
Regular Advisor
Indrajit Bhagat
Posts: 319
Registered: ‎07-22-2006
Message 1 of 6 (188 Views)

user accounts reactivating

Hi All,

How can we reactivate the user account in Hp-Unix. the server is in truseted mode.
I am able to reactivate the user accound through command line, but want to know how it can be done through command line.

Points will be given
Honored Contributor
Ivan Krastev
Posts: 2,156
Registered: ‎06-25-2006
Message 2 of 6 (188 Views)

Re: user accounts reactivating

Use
# modprpw -k username


to enable it.

regards,
ivan
Trusted Contributor
SKR_1
Posts: 494
Registered: ‎03-25-2008
Message 3 of 6 (188 Views)

Re: user accounts reactivating

/usr/lbin/modprpw -k userID To enable
/usr/lbin/modprpw -x userID To reset password

Thanks

SKR
Regular Advisor
Indrajit Bhagat
Posts: 319
Registered: ‎07-22-2006
Message 4 of 6 (188 Views)

Re: user accounts reactivating

Hi all,

I think

/usr/lbin/modprpw -k userid unlock the user id.

I am doing /usr/lbin/modprpw -k userid, after than also, i need to go to sam, select the user and then from action i need to reactivate it.

Is there any way through command line.
Regular Advisor
Indrajit Bhagat
Posts: 319
Registered: ‎07-22-2006
Message 5 of 6 (188 Views)

Re: user accounts reactivating

Is there any body can help me out
Valued Contributor
ManojK_1
Posts: 271
Registered: ‎03-21-2007
Message 6 of 6 (188 Views)

Re: user accounts reactivating

Hi Indrajit,

after running the command /usr/lbin/modprpw -k

please run the command
/usr/lbin/getprpw

What it is showing the entries for
alock, lockout

Manoj K
Thanks and Regards,
Manoj K
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.