summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-11-29 11:32:47 -0800
committerStephen Hemminger <shemminger@vyatta.com>2011-11-29 11:32:47 -0800
commitd3ed56c29ae41fbc5ca3014406186cc1b1d6f585 (patch)
tree842176ea0083a563cf437a3d7e83e28a33cd5082
parent0cabfe433b27c1ce48ececa92e6556ceabd10c3e (diff)
downloadvyatta-cfg-system-d3ed56c29ae41fbc5ca3014406186cc1b1d6f585.tar.gz
vyatta-cfg-system-d3ed56c29ae41fbc5ca3014406186cc1b1d6f585.zip
sudoers: expand ${bindir}
File is copied not expanded by shell
-rw-r--r--sysconf/sudoers2
1 files changed, 1 insertions, 1 deletions
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