summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-03-21 13:04:03 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-03-21 13:08:11 -0700
commit5171f94ea7224e561ab29f99499517e58dcab056 (patch)
treeb3bacf39ae72db3013dbabfb9fe01ca6549e56b0 /debian/vyatta-cfg-system.postinst.in
parentaea446f3b59c84cf9e5d8b08e3d8d0b181be09b4 (diff)
downloadvyatta-cfg-quagga-5171f94ea7224e561ab29f99499517e58dcab056.tar.gz
vyatta-cfg-quagga-5171f94ea7224e561ab29f99499517e58dcab056.zip
Allow operator to run ntpdate
Fix for Bug 3018, allow operator to run ntpdate.
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r--debian/vyatta-cfg-system.postinst.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 1c0ba92c..f3d53450 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -42,7 +42,8 @@ Cmnd_Alias IPFLUSH = /sbin/ip route flush cache, \
/sbin/ip neigh flush to *, \
/sbin/ip neigh flush dev *
Cmnd_Alias ETHTOOLP = /usr/sbin/ethtool -p *
-%operator ALL=NOPASSWD: /sbin/reboot, /bin/date, IPTABLES, ETHTOOLP, IPFLUSH
+Cmnd_Alias DATE = /bin/date, /usr/sbin/ntpdate
+%operator ALL=NOPASSWD: /sbin/reboot, DATE, IPTABLES, ETHTOOLP, IPFLUSH
EOF
# for "users" level (FIXME)