pw user change_passwd


The pw user change_passwd command changes the password of an existing user.
 The syntax for this command is as follows:

pw user change_passwd <user_name> -old <old password> -new <new password>
  • <user_name> — A string representing a user name. A user with this name must already exist. 
  • -old — Old password of the user.
  • -new — A new password.

To change the password of user1 from netpro to ask2pro, run the following command:

# pw user change_passwd user1 -old netpro -new ask2pro

The pw user change_passwd command can be run by the following users:

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC ProactiveNet 9.6