Show TOC

Background documentationSETPASSWORD / SETP Locate this document in the navigation structure

 

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.

Caution Caution

Only administrators can change passwords for other users: The new password has to be specified in the command line as a readable text.

End of the caution.
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