That is to say, it will reject receiving too short passwords, passwords similar to previous passwords, words in the dictionary as passwords, or passwords that are too easy to guess.
Format
Passwd [user]
If you want to change your password, you only need to enter the passwd command.
Next, shell prompts the user to enter the old password and new password.
========================================================== =====
Strong Password
The passwd command forces the user to use a strong password.
That is to say, it will reject receiving too short passwords, passwords similar to previous passwords, words in the dictionary as passwords, or passwords that are too easy to guess.
========================================================== =====
Change passwords of other users
If you have super user permissions, you can set a password for another user by specifying the user name as the passwd parameter.