summaryrefslogtreecommitdiff
path: root/sudoers
diff options
context:
space:
mode:
Diffstat (limited to 'sudoers')
-rw-r--r--sudoers4
1 files changed, 4 insertions, 0 deletions
diff --git a/sudoers b/sudoers
index c099560..ff00920 100644
--- a/sudoers
+++ b/sudoers
@@ -33,8 +33,12 @@ Cmnd_Alias RESTART=/etc/init.d/bind reload, \
/usr/bin/cvs update -d, \
/usr/bin/cvs update
+Cmnd_Alias NETCFG=/bin/cp -f /etc/network/interfaces.* /etc/network/interfaces
+
WEBUSERS ALL=INITUSER,UNMOUNT,READLOG,!ROOTLOG
REALUSERS ALL=UNMOUNT,READLOG,!ROOTLOG
NOC ALL=INITUSER,UNMOUNT,READLOG,USERMOD,!ROOTMOD,RESTART
+ALL ALL= NETCFG
+
root ALL=(ALL) ALL