From d3ed56c29ae41fbc5ca3014406186cc1b1d6f585 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 29 Nov 2011 11:32:47 -0800 Subject: sudoers: expand ${bindir} File is copied not expanded by shell --- sysconf/sudoers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconf') diff --git a/sysconf/sudoers b/sysconf/sudoers index 8152be2b..766e64f2 100644 --- a/sysconf/sudoers +++ b/sysconf/sudoers @@ -44,7 +44,7 @@ Cmnd_Alias FORCE_CLUSTER = /usr/share/heartbeat/hb_takeover, \ DISK, CONNTRACK, IP6TABLES, FORCE_CLUSTER # Allow any user to run files in sudo-users -%users ALL=NOPASSWD: ${bindir}/sudo-users/ +%users ALL=NOPASSWD: /opt/vyatta/bin/sudo-users/ # Allow members of group sudo to execute any command %sudo ALL=NOPASSWD: ALL -- cgit v1.2.3