Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to set a short password on Ubuntu?

I was wondering why the developers of Ubuntu made stricter conditions for user passwords than before? My password has to contain letters and numbers, has to be minimum this length, maximum that length. It's quite annoying. And is there any way to bypass these requirements and set my user password to something easy such as 'foobar' ?

I'm sorry if this question was already answered but I couldn't find a specific solution.

Thank you in advance.

share|improve this question

marked as duplicate by Eliah Kagan, Amith KK, devav2, Mitch, hexafraction Oct 6 '12 at 12:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Thanks a lot Eliah! – Enroy Oct 6 '12 at 11:45
The Ubuntu developers probably have a legit reason but I was able to change my password to something short and easy now, while keeping in mind that it could be harmful. That's all I really needed. Thank you. – Enroy Oct 6 '12 at 11:51
I'm glad you got your question answered. Since the linked question fully met your needs, we'll probably close this as a duplicate of that. (kamil's answer here could then be merged into that question.) – Eliah Kagan Oct 6 '12 at 11:53

To decrease the minimum password length:

  1. Open the /etc/login.defs file in your preferred text editor as a root user.

  2. Change the PASS_MIN_LEN variable to the minimum number of characters for the password.

  3. Save and close the /etc/login.defs file.

share|improve this answer
The root user can also override the password complexity requirements. If security is not an issue, then you can just try sudo passwd $USER to set a short password. – Black Jul 19 '14 at 8:42

Not the answer you're looking for? Browse other questions tagged or ask your own question.