clpasswd command
Purpose
Change the current users password on all nodes in a cluster, or in a resource group.Syntax
clpasswd [-g resource group] user
Description
The Cluster Password (clpasswd) utility lets users to change their own password on all nodes in a cluster, or in a resource group as specified by the PowerHA® SystemMirror® administrator, from a single node. Before users can change their password across cluster nodes, the PowerHA SystemMirror administrator adds any users who do not have root privileges to the list of users allowed to change their password.
This Cluster Password utility can also replace the AIX® password utility from the SMIT fastpath cl_passwd.
The following
table shows where a user's password is changed based on the user's
authorization and the password utility that is active:
User authorization level | When the system password utility is linked to clpasswd and /bin/passwd is invoked | When the system password utility is active |
---|---|---|
User authorized to change password across cluster | The password is changed on all cluster nodes, | The password is changed on all cluster nodes. |
User not authorized to change password across cluster | The password is changed only on the local node. | The password is not changed. |
Flags
- -g
- Specifies the name of the resource group in which the user can change their password. The password is changed on each node in the specified resource group.
- user
- The username of the user who is changing their password.
Example
clpasswd -g rg1 myusername