echo 'ImanId10t' | openssl passwd -1 -stdin
$1$c0P8Aqls$5XDSdYdJ4IJj1mR4fTPEG.
echo 'ImanId10t' | openssl passwd -1 -salt zpe -stdin
echo 'ImanId10t' | openssl passwd -6 -salt zpe password
echo 'user1:\$1\$c0P8Aqls\$5XDSdYdJ4IJj1mR4fTPEG.' | /usr/sbin/chpasswd -e
-help | Display this summary |
-in infile | Read passwords from file |
-noverify | Never verify when reading password from terminal |
-quiet | No warnings |
-table | Format output as table |
-reverse | Switch table columns |
-salt val | Use provided salt |
-stdin | Read passwords from stdin |
-6 | SHA512 based password algorithm |
-5 | SHA256 based password algorithm |
-apr1 | MD5 based password algorithm, Apache variant |
-1 | MD5 based password algorithm |
-aixmd5 | AIX MD5 based password algorithm |
-crypt | Standard Unix password algorithm (default) |
- rand val | Load the file(s) into the random number generator |
- writerand outfile | Write random data to the specified file |