diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-10-27 16:31:06 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-10-27 16:31:06 -0700 |
commit | bd5e025253397e80787f2c21ebb95c67fa4e140d (patch) | |
tree | c6b0f30fbbc121e300b3e1c2aa671a9e5271ad37 | |
parent | 3537c028bc63e18568e70dfd3c1634d857918bc2 (diff) | |
download | vyatta-cfg-system-bd5e025253397e80787f2c21ebb95c67fa4e140d.tar.gz vyatta-cfg-system-bd5e025253397e80787f2c21ebb95c67fa4e140d.zip |
Allow more ethtool commands
Bugfix 3832
Need to allow ethtool statistics for operator
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index e9541dbe..a814df9c 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -55,11 +55,15 @@ Cmnd_Alias IPFLUSH = /sbin/ip route flush cache, \ /sbin/ip route flush cache *,\ /sbin/ip neigh flush to *, \ /sbin/ip neigh flush dev * -Cmnd_Alias ETHTOOLP = /usr/sbin/ethtool -p * +Cmnd_Alias ETHTOOL = /usr/sbin/ethtool -p *, \ + /usr/sbin/ethtool -S *, \ + /usr/sbin/ethtool -a *, \ + /usr/sbin/ethtool -c *, \ + /usr/sbin/ethtool -i * 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: DATE, IPTABLES, ETHTOOLP, IPFLUSH, \ +%operator ALL=NOPASSWD: DATE, IPTABLES, ETHTOOL, IPFLUSH, \ PPPOE_CMDS, PCAPTURE, /usr/sbin/wanpipemon, /usr/bin/lsof EOF cat <<EOF >>/etc/sudoers |