How to generate password for Linux?

If you’re looking to generate the /etc/shadow hash for a password for a Linux user (for instance: to use in a Puppet manifest), you can easily generate one at the command line. $ openssl passwd -1 Password: Verifying - Password: $1$3JUKmV3R$vZVeb51f1t6QZUecwuRHX0 If you want to pass along a salt to your password;
For More Information Please Refer:

You May Also Like to Read: