forked from waveshare/IT8951
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sudoers.example
39 lines (29 loc) · 1.18 KB
/
sudoers.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
pi ALL = (root) NOPASSWD: /sbin/halt
pi ALL = (root) NOPASSWD: /opt/eink/eink_rpi_server
pi ALL = (root) NOPASSWD: /opt/eink/eink_rpi_standalone
pi ALL = (root) NOPASSWD: /home/pi/projects/eink2_x11_1200x825_24bpp/eink_rpi_server
pi ALL = (root) NOPASSWD: /home/pi/projects/eink2_x11_1200x825_24bpp/eink_rpi_standalone
pi ALL = (root) NOPASSWD: /opt/clear_eink_and_shutdown
%shutdown ALL=(root) NOPASSWD: /sbin/reboot
%shutdown ALL=(root) NOPASSWD: /sbin/halt
%shutdown ALL=(root) NOPASSWD: /sbin/shutdown
# See sudoers(5) for more information on "@include" directives:
@includedir /etc/sudoers.d