Appendix

Weak Password List

The default weak password of the service system is 123456.

Weak passwords and passwords in similar formats may cause security risks. Do not use them when setting or changing passwords.

Changing Weak Passwords

To customize a weak password, perform the following steps:

  1. Log in to the operating system as the root user. ( How Do I Log In to the Operating System Through a Network Port?)
  2. Run the following command:

    cd /usr/share/cracklib

  3. Compress the original weak password file.

    gzip -c pw_dict.pwd > pw_dict.pwd.gz

  4. Extract the password and redirect to a new temporary file.

    cracklib-unpacker pw_dict > xxx.txt

  5. (Optional) Delete weak password *** and generate a new temporary file.

    grep -vEi '***' xxx.txt > yyy.txt

  6. (Optional) Add weak password *** and generate a new temporary file.

    cat xxx.txt > yyy.txt

    echo "***" >> yyy.txt

  7. Generate a new weak password file.

    create-cracklib-dict yyy.txt

  8. Delete temporary files.

    rm pw_dict.pwd.gz xxx.txt yyy.txt