cancel
Showing results for 
Search instead for 
Did you mean: 

Edit Password By CLI

 
Mousa55
Super Advisor

Edit Password By CLI

Hi,

 

how can i do the following by command line on HP-UX

 

  1. Check the status of a user
  2. Unlock a user
  3. Reset the password of a user (to null)
  4. Change the password of a user to a random password

Thanks

1 REPLY
Patrick Wallek
Honored Contributor

Re: Edit Password By CLI

If the system is trusted you would use commands like getprpw, modprpw and the passwd command.

 

If the system is NOT trusted then the passwd command is your friend.

 

Check the man pages for all commands for details on their use.