SETPASSWORD / SETP
Use
Changes the password for a user. If the user name is not given, then the password is changed for the current user. If the user name is given, the password is changed for the given user.
Syntax
|
Syntax |
SETPASSWORD [-u userName] |
|
Arguments |
|
|
[-u userName] |
If specified, the password of the specified user will be changed provided the user currently logged in has the required rights. |
|
Description |
Takes the new password to be set as input from the user using a pop up where the password has to be entered. |
Example
Changing the Password of the Current User
To change password of the current user to " xyz ", execute:
setp xyz
Changing the Password of a Specific User
To change the password for user X to " xyz ", execute:
setp -U X xyz