Operating System - HP-UX
1832997 Members
2264 Online
110048 Solutions
New Discussion

Re: inactivate/disable user on a Trusted system

 
SOLVED
Go to solution
Quark
Valued Contributor

inactivate/disable user on a Trusted system

Hi,

I there a way to inactivate a user on an HP-UX system that runs in Trusted security mode?
We don't want to delete the user but for the moment we just want to disable the account.

With kind regards,

Kris
3 REPLIES 3
RAC_1
Honored Contributor

Re: inactivate/disable user on a Trusted system

passwd -l "user_name"

man passwd for details.
There is no substitute to HARDWORK
Alex Glennie
Honored Contributor
Solution

Re: inactivate/disable user on a Trusted system

To deactivate or disable an account that is set up on a Trusted System use
the command:
# /usr/lbin/modprpw -m alock=YES

To re-activate an account that is set up on a Trusted System use the command:
# /usr/lbin/modprpw -k

should also work
Arunvijai_4
Honored Contributor

Re: inactivate/disable user on a Trusted system

Hi Kris,

You can also use "sam" to do this.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"