0

So i just installed ubuntu server 11.04 and after i rebooted i'm seeing a cli interface asking for my :

Ubuntu 11.04 new-host tty1

new-host login:

Password:

i've tried entering the user name and password i specified when i did the install but that did not work. The password looks fine if i enter it into the login field so i d

1
  • 2
    So you may have flubbed it during the install. You have 2 choices. Re-install or perform a password recovery.
    – Zoredache
    Apr 16, 2012 at 21:08

4 Answers 4

1

Something has gone wrong during installation. The fast thing to do is boot computer from DVD with linux, mount root filesystem, chroot to it, and change password/create users using passwd and adduser or just edit /etc/passwd. Probably also host name should be changed.

http://en.wikipedia.org/wiki/Chroot

0

One option, if you know the format of /etc/shadow, you can simply delete the password from it for your login. Boot to a LiveCD, mount your / filesystem, edit /etc/shadow, delete the second field of your login. The delimiter is a colon. As per man 5 shadow:

This field may be empty, in which case no passwords are required to authenticate as the specified login name. However, some applications which read the /etc/shadow file may decide not to permit any access at all if the password field is empty.

At this point, boot normally and you no longer have a password requirement. Feel free to reset it with passwd

1
  • This reminds me of a computer security saying. "If someone has physical access to your data, it is no longer your data." Apr 17, 2012 at 3:20
-1

I had to try to login with the username/password several times... Eventually it started to work.

3
  • 1
    This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation.
    – slm
    Sep 25, 2013 at 23:28
  • Well... okay sorry. I had the same problem... after some attempts it started to work.
    – PJunior
    Sep 26, 2013 at 13:04
  • That's fine, but this isn't really an answer, it's a comment.
    – slm
    Sep 26, 2013 at 13:07
-2

I had a similar issue, but I was using vmware workstation 9 and the VM after reboot just display these questions. I solved the problem with the creation of a new VM, but after to the first run I delete a CD-DVD (autoins) from the hardware list of my VM.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .