华为交换机在Telnet登录的时候总是提示初始密码不安全需要修改密码的处理方法 Warning: The initial password poses security risks.

  • A+
所属分类:随手小记
[lookback@LookBack-iMac ~]$ telnet 192.168.249.2

Trying 192.168.249.2...
Connected to 192.168.249.2.
Escape character is '^]'.

Warning: Telnet is not a secure protocol, and it is recommended to use Stelnet.

Login authentication


Username:
Username:dtkj
Password:
Warning: The initial password poses security risks.
The password needs to be changed. Change now? [Y/N]: n
Info: The max number of VTY users is 10, and the number
      of current VTY users on line is 1.
      The current login time is 2018-09-05 01:36:31+00:00.
<guang2>

华为交换机在Telnet登录的时候总是提示初始密码不安全需要修改密码的处理方法 Warning: The initial password poses security risks.

[lookback@LookBack-iMac ~]$ telnet 192.168.249.2

Trying 192.168.249.2...
Connected to 192.168.249.2.
Escape character is '^]'.

Warning: Telnet is not a secure protocol, and it is recommended to use Stelnet.

Login authentication


Username:
Username:dtkj
Password:
Warning: The initial password poses security risks.
The password needs to be changed. Change now? [Y/N]: n
Info: The max number of VTY users is 10, and the number
      of current VTY users on line is 1.
      The current login time is 2018-09-05 01:36:31+00:00.
<guang2>sys
Enter system view, return user view with Ctrl+Z.
[guang2]aaa                 
[guang2-aaa]undo local-aaa-user password policy administrator
Warning: Administrator password policy has been disabled, there is a security risk.
[guang2-aaa]q
[guang2]q
<guang2>q
Info: The max number of VTY users is 10, and the number
      of current VTY users on line is 0.Connection closed by foreign host.
[lookback@LookBack-iMac ~]$

说白了就是进入system-view的系统视图之后进入aaa,然后执行undo local-aaa-user password policy administrator

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: