0

The Ubuntu server has been not used for about three months and it works not well. When I try to run it the start process stuck on "stopping system V runlevel compatibility". I searched this forum and found and followed this post, and then I got to the login screen by pressing ctrl alt F1. But I don't know the root password and any accounts' name and passwords.

I have tried to break into it without password following another post by rebooting and pressing shift key, but it doesn't work. I was told to enter the password or ctrlD to continue. not the prompt but passwd needed

Is it possible for me to login in this situation?

Lerner Zhang
  • 271
  • 2
  • 10

3 Answers3

1

Following this post when I'm here I need to enter E (don't hit enter) to edit the setting.

And then I navigate to this screen and go to the fourth line(starting with linux /boot/vm....to revovery \nomodeset) from the end and replace recovery \nomodeset with quiet splash rw init=/bin/bash. Last hit F10 to resume the booting, and you'll see a prompt and enter passwd to set a new password for root.

Lerner Zhang
  • 271
  • 2
  • 10
0

That's fairly easy - http://google.com/?q=ubuntu+reset+forgotten+root+password

Which leads to the well-hidden first entry: https://help.ubuntu.com/community/LostPassword

0

You should have used your sudo user password, would have been enough. Otherwise, not possible, especially if root is disabled( which it is by default on Ubuntu ) . if you need to recover data from it, remove hard drive, use USB to SATA connector ( fairly cheap on Amazon) to connect it to another computer.

If you have encryption on the drive, you're not gonna get any far. Consider reinstalling the OS