How the Password Encryption Works in RHEL 6.4 , And Which Encrytion is used in etc/shadow File , SHA256 , SHA512 or any other ?
Does RHEL not provide a manual page to document the shadow file format? If not, did you search their voluminous online documentation?
I suspect this is something you can easily answer for yourself (if you could simply muster some effort).
Regards,
Alister
1 Like
Look at the format of the password field in /etc/shadow. You should see something like $x$salt$hash where x denotes the algorithm used and x is one of the following values
1 = MD5, 2a = Blowfish, 5 = SHA256, 6 = SHA512
Look at the crypt(3) manpage for more information.
2 Likes
Oh Thanks Help full Tips by fpmurphy