Linux/sudoers: Difference between revisions

From Wiki
No edit summary
No edit summary
 
Line 4: Line 4:
** user  ALL = (ALL) NOPASSWD: ALL
** user  ALL = (ALL) NOPASSWD: ALL
[[Category:Linux/System]]
[[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