Locking user accounts on HP/UX


To prevent a user account from being used, it’s often simpler to lock the account, rather than changing the password, deleting it or otherwise disabling it. The easiest way to do this is with the getprpw command.
The command getprpw returns a series of bits, check man page for meaning:

    # /usr/lbin/getprpw [ -m lockout ] 

To reactivate a locked account:

    # /usr/lbin/modprpw -k 

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>