Resetting root password on Fedora Core 3 - serial cable access only

Posted by Sensible Eddie on Server Fault See other posts from Server Fault or by Sensible Eddie
Published on 2012-08-09T14:18:55Z Indexed on 2012/08/28 9:40 UTC
Read the original article Hit count: 207

Filed under:
|
|
|
|

A little background: We have an old rackmount server running a customised version of Fedora, manufactured by a company called Navaho. The server is a TeamCAT, running some proprietary rubbish called Freedom2. We have to keep it going - the alternative is extraordinarily expensive, and the business is not likely to be running much longer to justify changing things.

Through one means or another, it has fallen upon me to try and resolve our lack of root access. The previous admin has fallen under the proverbial bus, and nobody has any clue.

We have no access to the root account for this server. ssh is running on the server, and there is one account admin that we can login with, however it has no permission to do anything (ironic...)

The only other way into the server is with a null-modem serial cable. This works... up to a point. I can see the BIOS, I can see the post BIOS screen, and then I see "Starting grub", followed by another screen with about four lines of Linux information, but then it stops at that point. The server continues booting, and all services come online after around two minutes, but the serial terminal displays no more information.

I understand it is possible to put Linux into "single user mode" to reset a root password, but I have no idea how to do this beyond trying to interrupt it at the grub stage listed above. When I have tried it just froze. It was almost like grub had appeared (since the server did not continue booting) but I couldn't see it on the serial terminal. Which made me think maybe the grub screen has some different serial settings? I don't know... it's the first time I've ever used serial for access!

A friend of mine suggested trying to use a Fedora boot CD. We could boot from USB, so something along this approach is possible but again we still can only see what's going on with the serial terminal, so it might not be achievable.

Does anyone have any suggestions for things I can try? I appreciate this is a bit of a long shot, but any assistance would be invaluable.

*UPDATE 1 - 28/8/12 * - we will be making some attempts on this today and will post further details later!

© Server Fault or respective owner

Related posts about ssh

Related posts about fedora