user_modify
This job modifies 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. |
Optional parameters
Parameter name | Data type | Description |
---|---|---|
group | string, integer | String containing the primary group ID or group name for the user. |
login_enabled | boolean | Boolean value defining if login is allowed (true) or not (false). |
additional_groups | list | Comma-separated list of group names of additional groups that the user should be a member of. Example: [root, exausers] |
authorized_keys | list | A list of authorized keys for the user. |
Substitute parameters
There are no substitute parameters.
Allowed users
The following users are allowed to run this job:
- root
Allowed groups
The following groups are allowed to run this job:
- root
- exaadm
Examples
The following examples show how to run this job in a Python program using XML-RPC or on the command line using confd_client.