< Home

display local-aaa-user password policy

Function

The display local-aaa-user password policy command displays the password policy of local user.

Format

display local-aaa-user password policy { access-user | administrator }

Parameters

Parameter Description Value
access-user Indicates the password policy of local access users. -
administrator Indicates the password policy of local administrator. -

Views

All views

Default Level

3: Management level

Usage Guidelines

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.

Example

# 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) 
Table 1 Description of the display local-aaa-user password policy access-user command output

Item

Description

Password control

Whether the password control function is enabled:
  • Enable
  • Disable

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 
Table 2 Description of the display local-aaa-user password policy administrator command output

Item

Description

Password control

Whether the password control function is enabled:
  • Enable
  • Disable

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:
  • Enable
  • Disable

To configure this function, run the password alert original command.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >