generating random passwords using mkpasswd utility
From WebHostingNeeds.com
In linux, you can make random password with command mkpasswd
[~/public_html/product]# mkpasswd b95W[yZbp
The -l flag defines the length of the password. The default is 9. The following example creates a 20 character password.
[~/public_html/product]# mkpasswd -l 20 wed;uotbss1joYEos5wu [~/public_html/product]#