Hi
I've lost the root password to my system (or, I've lost all my passwords to the system, and I need a root account for reseting it so I can use sudo). The root account was locked with "passwd -l" so I tried booting into recovery mode, but I later discovered that I needed a password for dropping into root shell. I then edited the startup stuff (pressed "e" when the recovery option was highlighted) and on the line with "linux" on I removed ro single and replaced it with rw init=/bin/bash. This should work, but it seems like it locked itself up after displaying:
And gives me a blinking root terminal, which I can't do anything on, seems like the entire kernel is locked. How do I sort this? Is there any other way to gain entry to the system? I only have KVM access, and I don't know if the DC's remote hands will do something to the actual machine.Code:cannot set terminal process group (-1) inappropriate ioctl for device ubuntu
I'm on a Ubuntu Server 12.04 install with the stock kernel.
Thanks in advance.



Adv Reply

Bookmarks