From 5171f94ea7224e561ab29f99499517e58dcab056 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 21 Mar 2008 13:04:03 -0700 Subject: Allow operator to run ntpdate Fix for Bug 3018, allow operator to run ntpdate. --- debian/vyatta-cfg-system.postinst.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3