The display local-aaa-user password policy command displays the password policy of local user.
Parameter | Description | Value |
---|---|---|
access-user | Indicates the password policy of local access users. | - |
administrator | Indicates the password policy of local administrator. | - |
After configuring the password policy for local users, you can run the display local-aaa-user password policy command to check whether the configuration is correct.
# Display the password policy of local access users.
<HUAWEI> display local-aaa-user password policy access-user
Password control : Enable
Password history : Enable (history records:5)
Item |
Description |
---|---|
Password control |
Whether the password control function is enabled:
To configure this function, run the local-aaa-user password policy access-user command. |
Password history |
Whether the historical password recording function is enabled and the maximum number of historical passwords of each user. To configure this function, run the password history record number command. |
# Display the password policy of local administrator.
<HUAWEI> display local-aaa-user password policy administrator
Password control : Enable
Password expiration : Enable (180 days)
Password history : Enable (history records:5)
Password alert before expiration : 30 days
Password alert original : Enable
Item |
Description |
---|---|
Password control |
Whether the password control function is enabled:
To configure this function, run the local-aaa-user password policy administrator command. |
Password expiration |
Whether the password expiration function is enabled and password expiration time. To configure this function, run the password expire command. |
Password history |
Whether the historical password recording function is enabled and the maximum number of historical passwords of each user. To configure this function, run the password history record number command. |
Password alert before expiration |
Password expiration prompt days. To configure this function, run the password alert before-expire command. |
Password alert original |
Whether the device prompt users to change the initial passwords:
To configure this function, run the password alert original command. |