Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

root user changed to Init cap by mistake

Status
Not open for further replies.

Scunningham99

Programmer
Sep 20, 2001
815
GB
Hi

red hat 5.5. My mistake the /etc/passwd file has been changed to init cap

Root:x:0:0:root:/root:/bin/bash

Now cannot su to root or login as root. Sudo is also not installed.

Any ideas how to fix



Sy UK
 
A quick solution will require some downtime.

Boot a livecd or the rescue cd and change the file back to the original.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top