sudo

Asked by C Jack

I am a newbie so I don't understand a lot about Linux

What does "SUDO" mean???

Why does everything in terminal mode start with SUDO???

Thanks

JJ

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu sudo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Gabriel Ruiz (anakron) said :
#1

It means "super user do" and you must use it every time when you try to do an action that only SuperUser can do. For example:

If you want to install some packages, you must do:

sudo apt-get install package1 package2 ...etc.

But you can do something better:

sudo passwd >>> with this you will create a password for the root user and then you can log in this way:

                  anakron@udec:~$ su root
                  Contraseña:
                  root@udec:/home/anakron#

And now you can do Everything that you want without use any sudo.

Bye!

Revision history for this message
Bernhard (b.a.koenig) said :
#2

Actually, you don't need to create a password for root, you can simply type

sudo su

enter your normal user password and then you have a shell in which you are the root (Administrator).

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

You said "I am a newbie so I don't understand a lot about Linux" ...

I suggest you:
Is strongly suggested to do not login as root, or get access to root user, to use Ubuntu and generally all Linux.

Simply when a command need root privileges simply use sudo. for example:

sudo apt-get update
sudo apt-get update

Sudo ask you for a password so give your user password, you don't see nothing when you type it, then press enter.

Hope this helps

Can you help with this problem?

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

To post a message you must log in.