Dealing with “Bad: new password is too simple” issue on Ubuntu Linux
Let’s say you’ve booted with Live Ubuntu CD/DVD and you want to change the password of your user which is called ubuntu on Live Ubuntu CD/DVD. If you run:
you might get an error like:
You must choose a longer password
Bad: new password is too simple.
You can bypass those checks by running passwd as a root with sudo:
That way you will be allowed to enter short or too simple passwords which sometimes you need for testing purposes. Of course you will not use such passwords on machines connected to the internet but maybe only on test machines, maybe in virtualized environments.