Linux/sudoers: Difference between revisions

From Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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]]
[[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