How do i manually generate a hash password in redhat?
-
man openssl: http://lightnetics.nodebb.com/post/880
You can use the openssl command.
$ openssl passwd --help Usage: passwd [options] [passwords] where options are -crypt standard Unix password algorithm (default) -1 MD5-based password algorithm -apr1 MD5-based password algorithm, Apache variant -salt string use provided salt -in file read passwords from file -stdin read passwords from stdin -noverify never verify when reading password from terminal -quiet no warnings -table format output as table -reverse switch table columns
$ openssl passwd -1 -salt sop thisismypassword $1$sop$CNr1gHM6GCxM8ekYJB/U50
© Lightnetics 2024