Bastionhost provides the automatic password change feature. The feature can randomly generate a password based on the password policy that you configure and automatically rotate the passwords of managed host accounts. This topic describes the operations related to password changes. The operations include creating and running a password change task.
Background information
Multi-Level Protection Scheme (MLPS) requires that logon credentials, such as passwords, of host accounts be changed on a regular basis. If the passwords are not changed for a long period of time, security risks may arise. However, regular and manual password rotation is inefficient and is prone to errors. To resolve this issue, Bastionhost provides the automatic password change feature.
Limits
- The automatic password change feature is available only in Bastionhost HA Edition.
- Bastionhost allows you to change the passwords of accounts only for Linux hosts. You cannot change the passwords of accounts for Windows hosts.
- A password change task supports only the host accounts for which Protocol is set to SSH and Authentication Type is set to Password.
Supported OSs and versions
OS | Version |
---|---|
Alibaba Cloud Linux |
|
CentOS | All versions |
Ubuntu | All versions |
Debian | All versions |
Open SUSE |
Note You can use the automatic password change feature to change the passwords only of
standard accounts. You cannot use this feature to change the passwords of root accounts.
|
SUSE Linux |
|
CoreOS |
|
Create a password change task
Immediately run a password change task
- If you select more than one password change task, Bastionhost runs the tasks one by one.
- If the time when you immediately run a periodic or scheduled password change task overlaps with the execution time that you specify for the task, Bastionhost runs the password change task only once. If the time when you immediately run a periodic or scheduled password change task does not overlap with the execution time that you specify for the task, the execution time or cycle that you specify for the password change task is not affected. In this case, although the password is changed after you immediately run the task, the task is still run to change the password based on the specified execution time or cycle.
Modify, enable, stop, or delete a password change task
After you create a password change task, you can modify, enable, stop, or delete the task on the Password Change page.
- Modify a password change task
Bastionhost allows you to modify the basic information and associated accounts of a password change task. On the Password Change page, click the name of the task whose information you want to modify. On the Task Details tab of the panel that appears, modify the basic information about the task and click Update. To modify a managed account, click the Managed Accounts tab. On the Managed Accounts tab, add or remove host accounts.
- Stop a password change task
If you no longer need one or more password change tasks within a specific period of time, you can stop the tasks. On the Password Change page, select the task that you want to stop and click Stop. After the task is stopped, the status of the task changes to Canceled. In this case, the task is not automatically run, and you cannot immediately run the task.
- Enable a password change task
If you want to run one or more password change tasks that have been stopped, you can enable the tasks. On the Password Change page, select the task that you want to enable and click Enable. After the task is enabled, the status of the task changes to Pending Execution. In this case, the task is automatically run based on the execution time or cycle that you specify.
- Delete a password change taskIf you no longer need one or more password change tasks, you can delete the tasks. On the Password Change page, select the task that you want to delete and click Delete. In the message that appears, click Delete.Note You cannot recover a password change task after you delete it. Proceed with caution.
Export a password
