Linux/sudoers: Difference between revisions
< Linux
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
* sudo visudo | * sudo visudo (add at the end:) | ||
** user ALL = NOPASSWD: /sbin/shutdown | ** user ALL = NOPASSWD: /sbin/shutdown | ||
** user ALL = NOPASSWD: ALL | ** user ALL = NOPASSWD: ALL | ||
** user ALL = (ALL) NOPASSWD: ALL | ** user ALL = (ALL) NOPASSWD: ALL | ||
[[Category:Linux/System]] | |||
[[Category:Linux]] |
Latest revision as of 13:58, 1 April 2017
- sudo visudo (add at the end:)
- user ALL = NOPASSWD: /sbin/shutdown
- user ALL = NOPASSWD: ALL
- user ALL = (ALL) NOPASSWD: ALL