mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 13:32:42 +00:00
Created new module for sudo
This commit is contained in:
parent
048353c1d9
commit
d524f5db7b
1 changed files with 11 additions and 0 deletions
11
en-US/modules/concept-what-is-sudo.adoc
Normal file
11
en-US/modules/concept-what-is-sudo.adoc
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[id=”concept-what-is-sudo”]
|
||||||
|
= What is `sudo`
|
||||||
|
|
||||||
|
The [command]`sudo` command allows users to gain administrative or root access. When trusted users precede an administrative command with [command]`sudo`, they are prompted for their own password. Then, when they have been authenticated and assuming that the command is permitted, the administrative command is executed as if they were the root user.
|
||||||
|
Only users listed in the [filename]`/etc/sudoers` configuration file are allowed to use the [command]`sudo` command. The command is executed in the user's shell, not a root shell.
|
||||||
|
|
||||||
|
The syntax for the sudo command is as follows:
|
||||||
|
----
|
||||||
|
sudo COMMAND
|
||||||
|
----
|
||||||
|
Replace _COMMAND_ with the command to run as the root user.
|
Loading…
Reference in a new issue