If you have administrator privileges, but are not the complete admin of
everything (i.e. the root user), then you are likely able to use sudo
.
If you run into issues where you cannot use a command because permission has
been denied, like in this example,
[euid123@talon3 local]$ mkdir folder_of_doom
mkdir: cannot create directory \`folder_of_doom\': Permission denied
then you can try the command with sudo
in front of it.
[euid123@talon3 local]$ sudo mkdir folder_of_doom
You will then be prompted for the sudo
password.
You get 3 tries to get it right (like any use of a password except
su), and if not, then the instance “is reported to the
root user.”
This is the same as when you try to use sudo
without the correct privileges.
/var/log/auth.log
for
Ubuntu systems.Why mention this at all, then, if you probably can’t use it?
Because on your own personal computer, or other systems where you are an
administrator, you can use sudo
to install certain programs from the Terminal
on machines with the
pip package management system
of Python installed.