tinyapps.org / blog

Ubuntu 10.04: Bypass minimum password length / complexity requirements #

Ubuntu 10.04 is requiring users to create more secure passwords than in previous versions. That is generally a good idea, but there are cases where you might want a simple password (for testing purposes in a VM, etc). The fastest method to bypass the minimum complexity and length requirements is to simply run the passwd command as root:

$ sudo passwd username

I mucked around in /etc/pam.d/common-password and read the man page for pam_unix before just chucking it and going with the above workaround.

/nix | May 18, 2010

Subscribe or visit the archives