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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.