When I run “passwd” command in a Ubuntu “24.10” VM to change the password, it reports “BAD PASSWORD: The password fails the dictionary check - it is based on a dictionary word”. I didn’t encounter this issue in the earlier Ubuntu versions I used. How to make it work as before?
The solution below comes from “ChatGPT“.
1 | # Edit the configuration file which controls the behavior of "passwd". |