user_passwd
This job changes the password for a given user (identified by username) and syncs the changes on all nodes.
Mandatory Parameters
Parameter Name | Data Type | Description |
---|---|---|
username | string | String containing the name of the user. |
password | string | String containing the new password for the user. |
Optional Parameters
Parameter Name | Data Type | Description |
---|---|---|
encode_passwd | boolean | Boolean value defining if the password is to be encoded (true) or not encoded (false). |
Substitute Parameters
There are no substitute parameters.
Allowed Users
The following users are allowed to run this job:
- root
- xmlrpc user
Allowed Groups
The following groups are allowed to run this job:
- root
- exaadm
Examples
The following code snippets show how to use this job using both Python (via XML-RPC) and on the command-line using confd_client.