How to convert shadow file again?

Solution Verified - Updated -

Issue

  • Customer found that there was no /etc/shadow file, also /etc/password file had hash value as follow:
root:65BBZ/Jpoe1aU:0:0:root:/root:/bin/bash
  • Why did shadow file was removed ?
  • How to create shadow file again ?

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content