sudo
and su
allow access to other commands as a different user.
The sudo
command
The sudo
command stands for "superuser do". It prompts
you for your personal password and confirms your request to execute a
command by checking a file, called sudoers
, which the
system administrator configures. Using the sudoers
file,
system administrators can give certain users or groups access to some
or all commands without those users having to know the
root
password. It also logs all commands and arguments so
there is a record of who used it for what, and when.To use the
sudo
command, at the command prompt, enter:sudo command
Replace
command
with the command for which you want to
use sudo
.The
sudo
command also makes it easier to practice the
principle of least privilege (PoLP), which is a computer
security concept that helps control system access and potential system
exploits and compromises.See More info
remove-password-prompt-for-sudo
what-does-mean-sudo-i-command
No comments:
Post a Comment
Thank You for your Comments, We will read and response you soon...