Home > One Liners, Security > Generate hashed passwords

Generate hashed passwords

November 3rd, 2009 admin Leave a comment Go to comments

Another OpenSSL related tip.

If you’ve ever wanted to generate a hashed password suitable for inclusion in the /etc/shadow file (for example, during post-install procedures such as sysidcfg), you can use the openssl passwd command

$ openssl passwd
Password:
Verifying - Password:
HaShEdPaSsCoMeSoUt

Cheers,
Kevin

Categories: One Liners, Security Tags:
  1. No comments yet.
  1. No trackbacks yet.