My Oracle Support Banner

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

Last updated on MAY 20, 2020

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Linux x86


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 .



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.