Creating a Password Change Rule
With password change rules, you can let the CBH system periodically change the passwords of multiple managed host resources at a time, improving the managed resource account security.
With password change rules, you can:
- Change passwords of managed resource accounts manually, periodically, or at a scheduled time.
- Change the passwords of multiple managed resource accounts to different passwords randomly generated by the system, the same password generated by the system, or the same password you specify.
Constraints
- Password change rules apply only to hosts configured with SSH, MySQL, SQL Server, Oracle, RDP, or Telnet protocols.
- To enable a password change rule for Windows hosts, enable the SMB service and open port 445 in the security group.
Prerequisites
- You have the operation permissions for the Chpwd Rules module.
- The configured OS type of the resource whose account password you want to change must be the same as the actual OS type of the resource.
Creating a Password Change Rule
- Log in to the CBH system.
- Choose Policy > Chpwd Rules > Chpwd Rules.
Figure 1 Chpwd Rules
- Click New in the upper right corner of the page to switch to the New Chpwd Rule dialog box.
- Configure the basic information.
Figure 2 New password change rule
- Click Next and start to relate the password change rule to one or more accounts or account groups.
- After a password change rule is related to an account group, accounts automatically obtain the permissions of the rule the instant they are added to the account group.
- If a password change rule is related to multiple managed resource accounts, batch changing passwords is available.
Figure 3 Relate account
- Click OK. You can then view the new password change rule in the rule list.
To obtain the new password of the managed resource accounts, download the password change log after a password change rule is executed.
Follow-up Operations
CBH gives you the ability to manage all password change rules on the rule list page, including managing related resources, deleting, enabling, or disabling one or more password change rules, and immediate execution of a password change rule.
- To quickly relate a password rule to more accounts or account groups, select the rule and click Relate in the Operation column.
- To delete a password change rule, select the rule and click Delete in the Operation column.
- To disable password change rules, select the ones you want to disable and click Disable at the bottom of the list. When the status of those rules changes to Disabled, they become invalid.
- To change the password of a managed account immediately, click Execute in the Operation column.
Last Article: Password Change Rules
Next Article: Querying and Editing a Password Change Rule
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.