Small blog about system administration.

Howto: Generate strong password with command line

How can you make your password strong enough to not get cracked by the bad guys? Here are some tips on password construction you can use to beef up your password.
  • If possible, make your password at least 12-15 characters in length 
  • Use at least 2 upper-case letters, 2 lower-case letters, 2 numbers, and 2 special characters (except the common ones such as "!@#$") 
  • Never use whole words. Make the password as random as possible 
  • Avoid using personal information as part of your password 
  • Avoid using keyboard patterns 
However, you can create strong password with simple command:

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

No comments :

Post a Comment