Got the following tip from the following website.
http://www.unixmen.com/11-useful-commands-for-linuxunix-administrators/
Create strong, but easy to remember password
Why remember? Generate!
Up to 48 chars, works on any unix-like system
read -s pass; echo $pass | md5sum | base64 | cut -c -16
Keywords: password