当出现提升字符串短于8个字符或者其他限制条件时,不予理睬,重复输入一次即可。依然可以设置短于8个字符的密码
[root@localhost ~]# passwd root
Changing password for user root.
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: all authentication tokens updated successfully.