not able to login with ubuntu 15.04

Karl Auer kauer at
Thu Nov 26 09:45:17 UTC 2015

On Thu, 2015-11-26 at 14:38 +0530, abhishek jain wrote:
> I'm not able to login the ubuntu image with ubuntu15.04 root file system.I
> localhost login: root
> Password:
> Login incorrect

During the Ubuntu install process, you would have been asked for a
username and password. Log in as that username, with that password.

Then, if you need to execute something as root, use sudo. E.g.,:

   sudo some_command

sudo will prompt you for YOUR password (not root's). If you put in the
right password, sudo will run some_command as root.

If you really want to be able to log in as root, which is generally
regarded as a bad idea, do this:

   sudo bash
   su -

... and enter the desired root password (the "su -" is optional, but a
good idea).

With a root password you will be able to log in as root, and also use su

Regards, K.

Karl Auer (kauer at

GPG fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4
Old fingerprint: EC67 61E2 C2F6 EB55 884B E129 072B 0AF0 72AA 9882

More information about the ubuntu-users mailing list