su: Authentication failure?


xxbeh@wsLinux:~$ whoami
xxbeh
xxbeh@wsLinux:~$ su
Password:
su: Authentication failure

I am sure I remember the password I choosed at the start during the installation, on this way:
http://img25.imageshack.us/img25/1581/media1208756461603.jpg

I told the system I am going to use xxbeh as login, and now while I try to change the user from xxbeh to root I get su: Authentication failure

sudo

sudo

nice ...

Thank you very much, but I don't remark the difference, it seems like I can do everything with the user I created at the beginning: xxheb!

change root password

Hi!

I had the same prob. after a wile surching I found a fantastic solution :-)

open up your terminal and do:

solution 1

su
your xxbeh password
passwd
type new password and confirm

solution2

In Ubuntu, by default, there is not really a root user, but only root access which can be gained using sudo, for instance, to update your repository list:

:~$sudo apt-get update

Root is created without predefined password, it does not have a password, but it does not have an empty password either, you just can't login!!!

solution 3

:~$ sudo sh
Password:
sh-3.1#

solution 4

Launch a shell as root. Therefore, using sudo you can type:

~$ sudo passwd
Password:
Enter new UNIX password:
Retype new UNIX password:

so easy when you know ;-)

best regards
Nic