summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-10 08:37:53 +0200
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-10 08:37:53 +0200
commit7e62f4c9b8084a89ba79315ea948d38439556dbb (patch)
tree76aa8f6cab95648d73ed4feb0bc5bfbe74b5d7ae /debian
parent2e20a0901c98266daec3056b0226d4672942bcad (diff)
downloadvyatta-cfg-quagga-7e62f4c9b8084a89ba79315ea948d38439556dbb.tar.gz
vyatta-cfg-quagga-7e62f4c9b8084a89ba79315ea948d38439556dbb.zip
Don't allow operator to reboot system
Remove privledge to reboot system via sudo for operator
Diffstat (limited to 'debian')
-rw-r--r--debian/vyatta-cfg-system.postinst.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 868029d5..6e5fa735 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -59,7 +59,7 @@ Cmnd_Alias ETHTOOLP = /usr/sbin/ethtool -p *
Cmnd_Alias DATE = /bin/date, /usr/sbin/ntpdate
Cmnd_Alias PPPOE_CMDS = /sbin/pppd, /sbin/poff
Cmnd_Alias PCAPTURE = /usr/bin/tshark, /usr/bin/tcpdump
-%operator ALL=NOPASSWD: /sbin/reboot, DATE, IPTABLES, ETHTOOLP, IPFLUSH, \
+%operator ALL=NOPASSWD: DATE, IPTABLES, ETHTOOLP, IPFLUSH, \
PPPOE_CMDS, PCAPTURE, /usr/sbin/wanpipemon, /usr/bin/lsof
EOF
cat <<EOF >>/etc/sudoers