quick-docs/en-US/modules/concept-using-sudo-without-password.adoc
Misha Husnain Ali edb640ff4c Add new file
2017-12-14 10:08:18 +05:30

12 lines
480 B
Text

[[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.