Operating System - HP-UX
1751980 Members
4703 Online
108784 Solutions
New Discussion юеВ

Re: 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 5
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