H3C交换机创建密码报错,提示太短

H3C交换机创建密码报错,提示太短

一台H3C 5130交换机创建用户名密码时报错

[F4-5130-10P-POE-1-]local-user admin class manage
New local user added.
-F4-5130-10P-POE-1-luser-admin] password simp admin123
The new password is too short. It must contain at least 10 characters.




但是我们不想设置那么长的密码, 怎么办?

baidu查了几个解决方法,找到这个是可以使用的。

加以下几条命令, 就可以了

 password-control length 4
 password-control composition type-number 1 type-length 1
 undo password-control complexity user-name check
 password-control change-password weak-password enable

你可能感兴趣的:(linux,运维,服务器)