Linux/sudoers: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 3: Line 3:
** user  ALL = NOPASSWD: ALL
** user  ALL = NOPASSWD: ALL
** user  ALL = (ALL) NOPASSWD: ALL
** user  ALL = (ALL) NOPASSWD: ALL
[[Category:Linux/System]]

Revision as of 13:28, 1 April 2017

  • sudo visudo (add at the end:)
    • user ALL = NOPASSWD: /sbin/shutdown
    • user ALL = NOPASSWD: ALL
    • user ALL = (ALL) NOPASSWD: ALL