|
@@ -24,28 +24,28 @@
|
|
|
## These are groups of related commands...
|
|
|
|
|
|
## Networking
|
|
|
-Cmnd_Alias NETWORKING = /sbin/route, /sbin/ifconfig, /bin/ping, /sbin/dhclient, /usr/bin/net, /sbin/iptables, /usr/bin/rfcomm, /usr/bin/wvdial, /sbin/iwconfig, /sbin/mii-tool
|
|
|
+#Cmnd_Alias NETWORKING = /sbin/route, /sbin/ifconfig, /bin/ping, /sbin/dhclient, /usr/bin/net, /sbin/iptables, /usr/bin/rfcomm, /usr/bin/wvdial, /sbin/iwconfig, /sbin/mii-tool
|
|
|
|
|
|
## Installation and management of software
|
|
|
-Cmnd_Alias SOFTWARE = /bin/rpm, /usr/bin/apt-get, /usr/bin/smart, /sbin/update-alternatives
|
|
|
+#Cmnd_Alias SOFTWARE = /bin/rpm, /usr/bin/apt-get, /usr/bin/smart, /sbin/update-alternatives
|
|
|
|
|
|
## Services
|
|
|
-Cmnd_Alias SERVICES = /sbin/service, /sbin/chkconfig
|
|
|
+#Cmnd_Alias SERVICES = /sbin/service, /sbin/chkconfig
|
|
|
|
|
|
## Updating the locate database
|
|
|
-Cmnd_Alias LOCATE = /usr/bin/updatedb
|
|
|
+#Cmnd_Alias LOCATE = /usr/bin/updatedb
|
|
|
|
|
|
## Storage
|
|
|
-Cmnd_Alias STORAGE = /sbin/fdisk, /sbin/sfdisk, /sbin/parted, /sbin/partprobe, /bin/mount, /bin/umount
|
|
|
+#Cmnd_Alias STORAGE = /sbin/fdisk, /sbin/sfdisk, /sbin/parted, /sbin/partprobe, /bin/mount, /bin/umount
|
|
|
|
|
|
## Delegating permissions
|
|
|
-Cmnd_Alias DELEGATING = /usr/sbin/visudo, /bin/chown, /bin/chmod, /bin/chgrp
|
|
|
+#Cmnd_Alias DELEGATING = /usr/sbin/visudo, /bin/chown, /bin/chmod, /bin/chgrp
|
|
|
|
|
|
## Processes
|
|
|
-Cmnd_Alias PROCESSES = /bin/nice, /bin/kill, /usr/bin/kill, /usr/bin/killall
|
|
|
+#Cmnd_Alias PROCESSES = /bin/nice, /bin/kill, /usr/bin/kill, /usr/bin/killall
|
|
|
|
|
|
## Drivers
|
|
|
-Cmnd_Alias DRIVERS = /sbin/modprobe
|
|
|
+#Cmnd_Alias DRIVERS = /sbin/modprobe
|
|
|
|
|
|
# Defaults specification
|
|
|
|
|
@@ -64,6 +64,15 @@ Defaults env_keep += "LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY
|
|
|
|
|
|
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin
|
|
|
|
|
|
+Defaults env_editor
|
|
|
+
|
|
|
+## Other default settings (see sudoers(5))
|
|
|
+
|
|
|
+#Defaults log_host
|
|
|
+#Defaults log_input
|
|
|
+#Defaults log_output
|
|
|
+#Defaults log_year
|
|
|
+
|
|
|
## Next comes the main part: which users can run what software on
|
|
|
## which machines (the sudoers file can be shared between multiple
|
|
|
## systems).
|