diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-06-21 21:57:55 +0000 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-06-21 21:57:55 +0000 |
commit | 9889f0d29051c1b713a94457754eb50232ff8bad (patch) | |
tree | 8c224485de91da5d82c4d62e7f25cea2f67ed754 /templates/renew | |
parent | bbe6c3a63fb24cb9b3da718340552cf2a861171e (diff) | |
download | vyatta-op-9889f0d29051c1b713a94457754eb50232ff8bad.tar.gz vyatta-op-9889f0d29051c1b713a94457754eb50232ff8bad.zip |
Fix Bug 3378 user "vyatta" got "permission denied" after executing "renew dhcp ..." and/or "release dhcp ..."
call script with sudo
Diffstat (limited to 'templates/renew')
-rw-r--r-- | templates/renew/dhcp/interface/node.tag/node.def | 3 |
1 files changed, 1 insertions, 2 deletions
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" |