Setting local user password control parameters
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a local user and enter local user view. | local-user user-name | N/A |
3. Configure the password aging time for the local user. | password-control aging aging-time | Optional. By default, the setting equals that of the user group to which the local user belongs. If no aging time is configured for the user group, the local user will take the global setting. |
4. Configure the minimum password length for the local user. | password-control length length | Optional. By default, the setting equals that of the user group to which the local user belongs. If no minimum password length is configured for the user group, the local user will take the global setting. |
5. Configure the password composition policy for the local user. | password-control composition type-number type-number [ type-length type-length ] | Optional. By default, the settings equal that of the user group to which the local user belongs. If no password composition policy is configured for the user group, the local user will take the global settings. |