Linux/sudoers: Difference between revisions

From Wiki
(Die Seite wurde neu angelegt: „* sudo visudo ** user ALL = NOPASSWD: /sbin/shutdown ** user ALL = NOPASSWD: ALL“)
 
No edit summary
 
(3 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
[[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