Get the App
SLTechnology News&Howtos  ›  Servers  › 

An error was reported when modifying the password of an ordinary user: BAD PASSWORD: is to

Shulou Source: shulou.com Published: 2022-06-02 20:58:36 11月14日 Update

The password of an ordinary user expires and is prompted to change the password. Due to the security requirements of the online server, this function cannot be turned off. However, no matter how complex the password I change, I always report an error: "BAD PASSWORD: is too simple". After tossing about for several days, I remembered Baidu.

It turns out that the default password setting rule for CentOS 7.2 is to contain at least one uppercase English, one lowercase English and a number.

When I set my own password, I think of the mixed use of lowercase letters and numbers and special symbols, but I don't use uppercase.

Now, even if the new password is only a mixture of words, numbers and special symbols, as long as there are uppercase letters in it, this error will not be reported again.

Reference documentation: BAD PASSWORD: is too simple when https://blog.csdn.net/yangyongming_888/article/details/84568848--git changes (sets) password

Tags: Passwords uppercase numbers special letters lowercase symbols English ordinary user complex valid secure functional words just uppercase letters that is documents validity Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Shulou Information OPPO Reno Redmi Microsoft