-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgoodSudoers
More file actions
30 lines (21 loc) · 785 Bytes
/
goodSudoers
File metadata and controls
30 lines (21 loc) · 785 Bytes
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
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Host alias specification
# User alias specification
# Cmnd alias specification
#Cmnd_Alias SHUTDOWN = /sbin/reboot, /sbin/poweroff
#Cmnd_Alias PKGMGMT = /usr/bin/dpkg, /usr/bin/apt-get, /usr/bin/aptitude
# User privilege specification
# Users listed above (MYADMINS) can run package managers and reboot the system.
#MYADMINS ALL = PKGMGMT, SHUTDOWN
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
#Default rule for root.
root ALL=(ALL) ALL
#includedir /etc/sudoers.d