Skip to content

April 25, 2016

Dealing with “Bad: new password is too simple” issue on Ubuntu Linux

by 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:

passwd

you might get an error like:

You must choose a longer password

or:

Bad: new password is too simple.

You can bypass those checks by running passwd as a root with sudo:

sudo passwd

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.

Read more from Linux Quick Tips

Leave a Reply

required
required

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments