Here is a quick one line command to generate a random password from the Linux command line.

# < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c6

If you want a password length longer than 6, changing the -c6 to read -c8 will give you 8 random characters instead of 6.

Create stronger passwords

Safepasswd is a website dedicated to helping you choose a safe and secure password. The secure passwords are automatically generated for you, allowing you the following options: easy to remember, letters only, numbers only, letters and numbers, all characters, and hex. This is a great tool for both administrators and standard computer users, as it practices the need to create stronger passwords.

SecurityFocus’ Mikhael Felker has written part two of his analysis of the security mechanisms, risks, attacks, and defenses of the two most commonly used password management systems: those found in Internet Explorer and Firefox. Read the rest of this entry