From 9889f0d29051c1b713a94457754eb50232ff8bad Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Sat, 21 Jun 2008 21:57:55 +0000 Subject: Fix Bug 3378 user "vyatta" got "permission denied" after executing "renew dhcp ..." and/or "release dhcp ..." call script with sudo --- templates/renew/dhcp/interface/node.tag/node.def | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'templates/renew') diff --git a/templates/renew/dhcp/interface/node.tag/node.def b/templates/renew/dhcp/interface/node.tag/node.def index 3bc5993..9952a49 100644 --- a/templates/renew/dhcp/interface/node.tag/node.def +++ b/templates/renew/dhcp/interface/node.tag/node.def @@ -6,5 +6,4 @@ allowed: run: IFNAME=${4} - /opt/vyatta/sbin/vyatta-interfaces.pl --op-command dhcp-renew --dev $IFNAME - + sudo /opt/vyatta/bin/sudo-users/vyatta-interfaces.pl --op-command "dhcp-renew" --dev "$IFNAME" -- cgit v1.2.3