How do I get a Superuser password?

Asked by Lin0rez on 2008-06-10

when I type:
james@james-laptop:~$ dpkg --configure -a
dpkg: requested operation requires superuser privilege
james@james-laptop:~$ su
su: Authentication failure

I am the only user and my administrator password doesn't work? How do I become a super user?

Question information

English Edit question
Ubuntu sudo Edit question
No assignee Edit question
Solved by:
Shane Fagan
Last query:
Last reply:

You can't use 'su' to login as root, use 'sudo command' to run command as root or 'sudo -i' to start root terminal.

More about root account in Ubuntu --

you can login as root with
sudo su

Lin0rez (vilgosjr) said : #3

Thanks worked great

you can also make a root-password by typing: sudo passwd (this will prompt you for giving a new UNIX-Password). After you set the new Password you can use su to change to the Root-Account

Lin0rez (vilgosjr) said : #5

Thanks to all who assisted me.

Stan Wojnowski (wojowhiskey) said : #6

Thank you.

The usual and strong suggested way to get temporary root access is to use the "sudo" command:

sudo dpkg --configure -a