How to manually recover if root was deleted from /etc/shadow and/or /etc/passwd
Issue
- The 'root' entry was removed from
/etc/shadowand/etc/passwd
Environment
- Red Hat Enterprise Linux ( All Versions)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.