6.4. Adding a new password policy in IdM using the WebUI or the CLI
Password policies help reduce the risk of someone discovering and misusing a user’s password. The default password policy is the global password policy. You can also create additional group password policies.
6.4.1. Adding a new password policy in the IdM WebUI 复制链接链接已复制到粘贴板!
Password policies help reduce the risk of someone discovering and misusing a user’s password. The default password policy is the global password policy. You can also create additional group password policies.
Prerequisites
- A user group to which the policy applies.
- A priority assigned to the policy
Procedure
- Log in to the IdM Web UI. For details, see Accessing the IdM Web UI in a web browser.
- Select Policy>Password Policies.
- Click Add.
- Define the user group and priority.
Click Add to confirm.
To configure the attributes of the new password policy, see Password policies in IdM.
6.4.2. Adding a new password policy in the IdM CLI 复制链接链接已复制到粘贴板!
Password policies help reduce the risk of someone discovering and misusing a user’s password. The default password policy is the global password policy. You can also create additional group password policies.
Prerequisites
- A user group to which the policy applies.
- A priority assigned to the policy
Procedure
- Open terminal and connect to the IdM server.
Use the
ipa pwpolicy-addcommand. Specify the user group and priority:$ ipa pwpolicy-add Group: group_name Priority: priority_levelOptional. Use the
ipa pwpolicy-findcommand to verify that the policy has been successfully added:$ ipa pwpolicy-findTo configure the attributes of the new password policy, see Password policies in IdM.