what is a superuser

Asked by mark

i am in terminal dpkg con etc. it says i need superuserstatus

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu yelp Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
mark (mark5044) said :
#1

what do i do about that

Revision history for this message
Tony Mugan (tmugan) said :
#2

Type "sudo" before the command (ignore the quotes)

e.g.

sudo dpkg --configure -a

Revision history for this message
Tony Mugan (tmugan) said :
#3

This basically grants the command following the sudo privileged rights to be able to carry out a task.

Revision history for this message
mark (mark5044) said :
#4

where do i type that im in a list it wont let you do anything .

Revision history for this message
mark (mark5044) said :
#5

i do the sudodpkg it takes me to a list but you must be a superuser or read only

Revision history for this message
Tony Mugan (tmugan) said :
#6

If you go to a terminal window (Applications menu, accessories) and type the following

su

That should elevate your terminal window to superuser for all subsequent commands.

Revision history for this message
mark (mark5044) said :
#7

authentication denied on the su

Revision history for this message
Tony Mugan (tmugan) said :
#8

Do you have the root user password for that machine?
Sounds like you typed the wrong password.

alternatively try

sudo gnome-terminal

This will open another terminal window but this one will have superuser rights for all commands.

Revision history for this message
Bhavani Shankar (bhavi) said :
#9

Hello

To use root you use the sudo command because superuser is disabled by default in ubuntu. More advice here:

https://help.ubuntu.com/community/RootSudo

to run a command as superuser, type sudo before the command:

sudo dpkg -i packagename.deb

Where package name is the name of the package you are installing

Before installing a package like this, see if it is in synaptic (system -> administration -> synaptic package manager) This is the common way of installing new software in ubuntu.

To get extra software see this howto:

http://psychocats.net/ubuntu/sources

In order to become Root in Ubuntu, one needs to enable the Root account. Below you'll find the steps to enable your Root account in Ubuntu:

In the terminal: (applications -> accessories -> terminal)

$ sudo passwd root <enter regular user password> <enter new Root password> <repeat new Root password>

Regards

Bhavani Shankar.

Revision history for this message
Thinboy00 (thinboy00) said :
#10

Note that
1. enabling the superuser account is generally a Bad Thing
2. You can get a root terminal by typing sudo -i
3. For graphical programs (like synaptic, unlike aptitude or apt-get), use either gksu or kdesu for GNOME and KDE respectively instead of sudo
4. To lock/disable an account (so you can't log in directly as that account, like with root normally), type sudo -l <account> to lock the superuser: sudo -l root

Revision history for this message
Thinboy00 (thinboy00) said :
#11

Oh, and you need to /start/ dpkg etc. with sudo

Can you help with this problem?

Provide an answer of your own, or ask mark for more information if necessary.

To post a message you must log in.