diff options
author | John Southworth <john.southworth@vyatta.com> | 2012-01-30 22:43:14 +0000 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2012-01-30 22:43:14 +0000 |
commit | 0aa1232f0b81216a11b7757fca98363c05971cca (patch) | |
tree | 40e93d721268fd85929a3b5abb5fa07933d2ee4d | |
parent | d8fc3d969d0fbb779aec25072b759c095a710423 (diff) | |
download | vyatta-cfg-quagga-0aa1232f0b81216a11b7757fca98363c05971cca.tar.gz vyatta-cfg-quagga-0aa1232f0b81216a11b7757fca98363c05971cca.zip |
Allow operator users to run dmidecode so show version works for them
-rw-r--r-- | sysconf/sudoers | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysconf/sudoers b/sysconf/sudoers index 766e64f2..b6c50423 100644 --- a/sysconf/sudoers +++ b/sysconf/sudoers @@ -32,6 +32,7 @@ Cmnd_Alias ETHTOOL = /sbin/ethtool -p *, \ /sbin/ethtool -a *, \ /sbin/ethtool -c *, \ /sbin/ethtool -i * +Cmnd_Alias DMIDECODE = /usr/sbin/dmidecode Cmnd_Alias DISK = /usr/bin/lsof, /sbin/fdisk -l *, /sbin/sfdisk -d * Cmnd_Alias DATE = /bin/date, /usr/sbin/ntpdate Cmnd_Alias PPPOE_CMDS = /sbin/pppd, /sbin/poff, /usr/sbin/pppstats @@ -41,7 +42,8 @@ Cmnd_Alias FORCE_CLUSTER = /usr/share/heartbeat/hb_takeover, \ /usr/share/heartbeat/hb_standby %operator ALL=NOPASSWD: DATE, IPTABLES, ETHTOOL, IPFLUSH, HWINFO, \ PPPOE_CMDS, PCAPTURE, /usr/sbin/wanpipemon, \ - DISK, CONNTRACK, IP6TABLES, FORCE_CLUSTER + DMIDECODE, DISK, CONNTRACK, IP6TABLES, \ + FORCE_CLUSTER # Allow any user to run files in sudo-users %users ALL=NOPASSWD: /opt/vyatta/bin/sudo-users/ |