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

I am looking for a list of the valid characters which can be used in a user account password on Ubuntu. man passwd just tells me:

As a general guideline, passwords should consist of 6 to 8 characters including one or more characters from each of the following sets:

   ·   lower case alphabetics

   ·   digits 0 thru 9

   ·   punctuation marks

Which is not helping much.

share|improve this question

Passwords allows the following:

  • Lowercase Alphabetical (a, b, c, etc.)
  • Uppercase Alphabetical (A, B, C, etc.)
  • Numerics (0, 1, 2, etc.)
  • Special Characters (@, %, !, etc.)

for more details have a look

share|improve this answer
This doesn't tell me anything I don't already know.. I want a list of all allowed characters. – wim Feb 2 '12 at 7:32
Are you trying to say that ANY special character is allowed ? – wim Feb 2 '12 at 7:54
yes my opinion don't use extra special special character – One Zero Feb 2 '12 at 8:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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