Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

user accounts reactivating

Indrajit Bhagat
Regular Advisor

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
5 REPLIES
Highlighted
Ivan Krastev
Honored Contributor

Re: user accounts reactivating

Use
# modprpw -k username


to enable it.

regards,
ivan
SKR_1
Trusted Contributor

Re: user accounts reactivating

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

Thanks

SKR
Indrajit Bhagat
Regular Advisor

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.
Indrajit Bhagat
Regular Advisor

Re: user accounts reactivating

Is there any body can help me out
ManojK_1
Valued Contributor

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