So, lets say I create a new user account, and it was that password (going against all common password policies) to be “tree”
without using passwd how do i get the sha512 encrypted value of that password “tree”
2014-08-28 1:15 GMT+02:00 Darod Zyree :
This thread on Server Fault[1] suggests the following one-liner:
5 thoughts on - EL7, Grub-crypt?
—– Mail original —–
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sec-GRUB_2_Password_Protection.html#sec-Password_Encryption
—
Baptiste AGASSE
Lyra Network, Service Systèmes et Réseaux
109 Rue de l’innovation, 31670 Labège – France Tél: (+33)5.67.22.31.87
Fax: (+33)5.67.22.31.61
Mail: baptiste.agasse@lyra-network.com Site: http://www.lyra-network.com
2014-08-27 16:07 GMT+02:00 Baptiste Agasse
Its the default hash used on EL7 by the
2014-08-28 0:51 GMT+02:00 David Goldsmith:
Right, sha512 was default for rhel6 too.
Am I failing to understand something?
So, lets say I create a new user account, and it was that password (going against all common password policies) to be “tree”
without using passwd how do i get the sha512 encrypted value of that password “tree”
2014-08-28 1:15 GMT+02:00 Darod Zyree:
This thread on Server Fault[1] suggests the following one-liner:
python -c ‘import crypt; print crypt.crypt(“tree”, “$6$random_salt”)’
– Jitse
[1]
http://serverfault.com/questions/330069/how-to-create-an-sha-512-hashed-password-for-shadow