access: Managers - for changing other user's passwords; All users can change their own passwords
Changes the password of an existing user.
access update password {-p | --password} PASSWORD
{u | --user} USER
| Argument | Description |
|---|---|
{-u | --user} |
The name of the user whose password you wish to update. If a username is not specified, the current user is implied. You must have manager-level access to change another user's password. This argument is repeatable to update multiple user's passwords at one time. |
{-p | --password} |
The user's new password. If a password
is not specified, a prompt appears to enter the password and again to confirm
the password. |
Return Codes
Following are the return values for this command:
| Code | Numeric Code | Description |
|---|---|---|
| NWSE_Success | 0 | Command successfully completed. |
| NWSE_InvalidUsage | 1 | Invalid usage: bad parameter usage, conflicting options specified. |
| NWSE_RPCTimeout | 2 | Request was issued, but was not serviced by the server. RPC procedure timed out and the request may or may not have been serviced by the server. |
| NWSE_RPCNotConnected | 3 | Unable to connect to the RPC server. |
| NWSE_InvalidArgument | 4 | One or more arguments were incorrect or invalid. Passwords do not match. |
| NWSE_NotFound | 5 | Entity (user, service, file, path, etc.) was not found. |
| NWSE_NoPermission | 6 | Not authorized to perform this operation. |