I recently used the new version of ubuntu, today I want to change the root password, when I enter:
sudo passwd
When I enter a 3-digit password, it says my password is too simple to set.
I am going to set this simple. Mad at you.
sudo gedit /etc/pam.d/common-password
Find the password line and change it to:
password requisite pam_pwquality.so retry=3 minclass=1
Remove the original enforce_for_root.
Get it done.
Recommended Posts