Root (user)


From SynCE-Wiki

The user, root, is a super user in every *nix machine.

If some of the instructions on this site ask you to execute something as root, there are two ways to do this:

sudo

sudo executes one command as the super-user. It should be used like this (replace COMMAND with the command that you were instructed to run as root):

sudo COMMAND

You may be prompted for your password.

If you don't use or understand sudo you must use su:

su

su starts a shell as the super-user. In some distributions this isn't supported at all (E.g. Ubuntu) and sudo should be used. To use su on a command, execute these commands (replace COMMAND with the command that you were instructed to run as root):

su
(enter root password)
COMMAND
exit

Exiting the super-user shell is highly recommended.