I've managed to change the root password. To what? I have no idea.
What I've tried so far, to recover it, is:
> Insert Fedora disc #1
> Select the Rescue Mode
> [After selecting <yes> a few times] get to a console
1) (now try the solution suggested here:
http:Q_22495405.html)
> Type: passwd root
But the output is:
passwd: unknown uid 0
X
2) (try the solution here:
http://www.globalface.com/lost_linux_password.html)
That is:
> cd /etc
> vi passwd
> i
(The only line that appears is: root:0:0:root:/:/bin/bash)
> Esc + ZZ
> vi shadow
> i
(This file is completely empty)
X
It would seem that I still have limited access, even when I boot to a console via the Installation disc.
Any suggestions?
Thanks very much
(P.S. I have about 4 hours of experience with Linux - so please be gentle)
Start Free Trial