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 examples show how to run this job in a Python program using XML-RPC or on the command line using confd_client.