From db8ec5fec7d231a5dec537d0bc82ddb3f7c3dbc0 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Fri, 14 Nov 2008 12:27:47 -0800 Subject: Fix 3918: Operator level users require sudo permission for ipv6 clear commands --- debian/vyatta-cfg-system.postinst.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index dff04293..5bd37e29 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -54,7 +54,11 @@ Cmnd_Alias IPTABLES = /sbin/iptables --list -n,\ Cmnd_Alias IPFLUSH = /sbin/ip route flush cache, \ /sbin/ip route flush cache *,\ /sbin/ip neigh flush to *, \ - /sbin/ip neigh flush dev * + /sbin/ip neigh flush dev * \ + /sbin/ip -f inet6 route flush cache, \ + /sbin/ip -f inet6 route flush cache *,\ + /sbin/ip -f inet6 neigh flush to *, \ + /sbin/ip -f inet6 neigh flush dev * Cmnd_Alias ETHTOOL = /usr/sbin/ethtool -p *, \ /usr/sbin/ethtool -S *, \ /usr/sbin/ethtool -a *, \ -- cgit v1.2.3