Generate hashed passwords
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