How to reset root password without knowing the old one?
How can I set the root password when I don't know what it was originally? I have Red Hat Linux and nothing else on the box. When I get to the GRUB login, I've tried entering an "E" as was suggested by another user here but I never got the screens he described. I cannot boot to Single User level as the system says I need root access. Please help!
|
Boot from a LiveCD, mount the drive containing /etc, edit /etc/shadow and delete the second field of the line starting with "root:".
|
LiveCD?
What do you mean by a "LiveCD"? I am really NEW at this.:cry:
|
Sorry. A LiveCD is a bootable copy of Linux that allows you to run Linux without having to install anything. Knoppix is the original and still has a huge array of tools available.
|
Knoppix
Where can I get a copy of Knoppix?
|
|
You might have some luck with Knoppix std
|
Quote:
|
Not sure but I came acrossed this site by accdient when one of the companies I do consulting for changed their admin password then forgot it. Will check in to it and post back.
|
From the looks of it their site has activity on it so I am going out on a edge and saying yes they are still active.
|
Quote:
|
All times are GMT -5. The time now is 01:50 AM. |