Oracle Linux: Why hash function used to store 'root' password as MD5 and SHA512 for other users .

(Doc ID 2111487.1)

Last updated on MARCH 31, 2016

Applies to:

Linux OS - Version Oracle Linux 5.5 and later
Information in this document applies to any platform.

Goal

On Oracle Linux the HASH function is used to store 'root' and 'non-root' password as MD5 or SHA512 type.

A Brief Note about MD5 and SHA512:

MD5 which stands for Message Digest algorithm '5', is a widely used cryptographic hash function. And SHA is referred as Secure Hash Algorithm is a family of cryptographic hash functions. SHA512 is a family of two similar hash functions, with different block sizes, known as SHA-256 and SHA-512. SHA-256 uses 32-bit words where SHA-512 uses 64-bit words.

The below snippets indicate MD5, SHA512 and Alternate authentication scheme .

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms