generating random passwords using mkpasswd utility

From WebHostingNeeds.com
Revision as of 19:40, 14 November 2008 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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]#