diff options
author | Deepti Kulkarni <deepti@vyatta.com> | 2011-07-27 07:58:49 -0700 |
---|---|---|
committer | Deepti Kulkarni <deepti@vyatta.com> | 2011-07-27 07:58:49 -0700 |
commit | c95e6db8d6771c9ff7e2e61edd936adaba77b374 (patch) | |
tree | 1f430029f844e65fa96cd623ec2a5e2ac7feb244 | |
parent | 384ae6917b2d744b2557dda148b33e7e7adc0f48 (diff) | |
download | vyatta-cfg-quagga-c95e6db8d6771c9ff7e2e61edd936adaba77b374.tar.gz vyatta-cfg-quagga-c95e6db8d6771c9ff7e2e61edd936adaba77b374.zip |
Added to make "force" op-mode command accessible to user type
operator.
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 4e07288d..0eb74858 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -111,9 +111,11 @@ Cmnd_Alias DATE = /bin/date, /usr/sbin/ntpdate Cmnd_Alias PPPOE_CMDS = /sbin/pppd, /sbin/poff, /usr/sbin/pppstats Cmnd_Alias PCAPTURE = /usr/bin/tshark, /usr/bin/tcpdump Cmnd_Alias HWINFO = /usr/bin/lspci +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 + DISK, CONNTRACK, IP6TABLES, FORCE_CLUSTER EOF cat <<EOF >>/etc/sudoers %users ALL=NOPASSWD: ${bindir}/sudo-users/ |