How to disable the initial password change prompt on a CE series switch

By default, the security policy function is enabled for local accounts on CE series switches to ensure security. Therefore, you will be asked to change the password at the first login.

If the initial password change prompt function is enabled for the next login on a switch, you will be also asked to change the password after the next login.

To disable a switch from asking you to change the initial password, run the following commands:

<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] undo local-user policy security-enhance  //Disable the security policy function for local accounts.
                           
[*HUAWEI-aaa] undo local-user policy password change   //If the initial password change prompt function is enabled for the next login, disable it.
    
[*HUAWEI-aaa] commit

Scroll to top