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
Password:
su: Authentication failure
james@james-laptop:~$

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

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sudo Edit question
Assignee:
No assignee Edit question
Solved by:
Shane Fagan
Solved:
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 -- https://help.ubuntu.com/community/RootSudo

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