UBUNTU 12.04 LTS. Please help

Srikaanth

Junior Member
Joined
Jul 28, 2012
Messages
143
Reaction score
82
I dual booted Ubuntu 12.04 along with Windows 7 yesterday. I can login to Ubuntu with my password . But when I use su or sudo command and enter the same password, I get "su: authentication failure"

I need to fix this asap.
Thanks in advance.
 
I'm not able to use "sudo passwd" to change the password as even sudo command won't accept my login password. it says "Sorry, try again"
 
Are you sure you are logged in as root? Run terminal as root maybe that should help
 
You have to set your Root password first, you can do that by typing "passwd", no need for "sudo passwd" I think you have to enter your current password aswell, or if you don't you don't I'm currently using windows, so I can't say exactly. Just type "passwd" enter your new passwords and it will work. I hope I helped.
 
On Ubuntu you don't log in as root. You need to sudo everything.

To change the root password you need sudo passwd root
 
Back
Top