Choosing Good Passwords

Good passwords are extremely important to prevent unauthorized access to your accounts. This document provides information and tips on how to choose passwords which will be more secure.

Information for End Users

The object when choosing a password is to make it as difficult as possible for a would-be intruder to make educated guesses about what you've chosen. This leaves him no alternative but a brute-force search, trying every possible combination of letters, numbers, and punctuation. A search of this sort, even conducted on a machine that could try one million passwords per second (some parallel processors are now capable of 400,000 per second) would require, on the average, over one hundred years to complete. Some guidelines:

Don't:

  • use your login name in any form (as-is, reversed, capitalized, doubled, etc.).
  • use your first or last name in any form.
  • use your spouse's or child's name.
  • use other information easily obtained about you. This includes license plate numbers, telephone numbers, social security numbers, the brand of your automobile, the name of the street you live on, etc.
  • use a password of all digits, or all the same letter. This significantly decreases the search time for an intruder.
  • use a word contained in (English or foreign language) dictionaries, spelling lists, or other lists of words.
  • use a password shorter than seven characters.

Do:

  • use a password with mixed-case alphabetics.
  • use a password with nonalphabetic characters, e.g., digits or punctuation.
  • use a password that is easy to remember, so you don't have to write it down.
  • use a password that you can type quickly, without having to look at the keyboard. This makes it harder for someone to steal your password by watching over your shoulder.

Although this list may seem to restrict passwords to an extreme, there are several methods for choosing secure, easy-to-remember passwords that obey the above rules.

Make up a unique sentence and use the first letter of each word in the sentence. Then throw in a digit or punctuation mark somewhere in the middle. A secure login password could be defined as one that does not fit into any would-be intruder's "universe" of intelligible words, or permutations thereof. In other words, an ideally secure password must appear as noise, totally random characters, devoid of any information. Therefore, you should not incorporate into a password any information which is known to others, because this information can make life just that much easier for an intruder. Names of people, streets, dictionary words, new events, are all known by others and can be guessed. For example, a sentence unique to a particular individual might be:

    My Volvo's front muffler leaks too much

from which the password "MVfml,tm". Such a password should then be examined in the light of the above guidelines in case any are violated by accident. For example, if the sentence had been:

    How older US educators sit

the resulting password "HoUSe.s" contains enough information to make life easier for an intruder.

To protect your files, most UVa password systems only accept new passwords that conform to the following rules:

  • Must be at least 6 characters long.
  • Must not consist of all lowercase, or all uppercase characters, all digits, or all punctuation characters.
  • Must not be part of the local computer's name.
  • Must not match anything in your UNIX account information, such as your login name or an item from your "finger" data entry (full name, login shell, home directory).
  • Must not be in the system's spelling dictionary - unless it has some uppercase letters other than the first character. For example, "Explain" would be rejected but "exPlain" would be accepted.
  • Must not have more than 2 characters repeated in a row - thus "ABCaaa" would be rejected.

These rules will probably be expanded to be more stringent in the future.

© 2008 by the Rector and Visitors of the University of Virginia.

The information contained on the University of Virginia’s Department of Information Technology and Communication (ITC) website is provided as a public service with the understanding that ITC makes no representations or warranties, either expressed or implied, concerning the accuracy, completeness, reliability or suitability of the information, including warrantees of title, non-infringement of copyright or patent rights of others. These pages are expected to represent the University of Virginia community and the State of Virginia in a professional manner in accordance with the University of Virginia’s Computing Policies.