mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 21:35:17 +00:00
Add new file
This commit is contained in:
parent
1533907d95
commit
edb640ff4c
1 changed files with 12 additions and 0 deletions
12
en-US/modules/concept-using-sudo-without-password.adoc
Normal file
12
en-US/modules/concept-using-sudo-without-password.adoc
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
[[concept-using-sudo-without-password]]
|
||||||
|
= Using sudo without a password
|
||||||
|
|
||||||
|
You can enable `root` access without a password specified, allowing any process on your system to become `root`. Add the following line to your `/etc/sudoers` file:
|
||||||
|
|
||||||
|
------------
|
||||||
|
_user_ ALL=(ALL) NOPASSWD: /usr/bin/docker
|
||||||
|
------------
|
||||||
|
|
||||||
|
This will allow _user_ to access docker without a password.
|
||||||
|
|
||||||
|
IMPORTANT: For security reasons, it is recommended that you always use *sudo* with a password.
|
Loading…
Reference in a new issue