Skip to content

Commit

Permalink
Fix name redborder-monitor instead of rb-monitor in sudoers file
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron committed Oct 18, 2024
1 parent 6a0573f commit 0fbc4cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/templates/default/redBorder.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<%# along with redBorder. If not, see <http://www.gnu.org/licenses/>. %>
<%####################################################################### %>
Defaults:redborder !requiretty
Defaults:rb-monitor !requiretty, !syslog
Defaults:redborder-monitor !requiretty, !syslog
redborder ALL= NOPASSWD:SETENV: /usr/bin/env BOOTUP=none /usr/lib/redborder/bin/rb_get_sensor_rules.sh *, /usr/lib/redborder/bin/rb_bypass.sh, /usr/lib/redborder/bin/rb_wakeup_chef.sh, /usr/lib/redborder/bin/rb_disassociate.sh -f, /sbin/service chef-client restart, /usr/lib/redborder/bin/rb_u2pcap.sh *, /usr/lib/redborder/bin/rb_update_geoip, /usr/lib/redborder/bin/rb_update_redborder_rpms.sh -f
rb-monitor ALL= NOPASSWD: /usr/lib/redborder/bin/rb_get_perfmonitor_stats.sh, /usr/lib/redborder/bin/rb_get_sensor.sh, /usr/lib/redborder/bin/rb_get_pfring_stats.sh, /usr/bin/nice -n 19 /usr/sbin/fping -p 1 -c 10 kafka.<%= node["redborder"]["cdomain"] %>
redborder-monitor ALL= NOPASSWD: /usr/lib/redborder/bin/rb_get_perfmonitor_stats.sh, /usr/lib/redborder/bin/rb_get_sensor.sh, /usr/lib/redborder/bin/rb_get_pfring_stats.sh, /usr/bin/nice -n 19 /usr/sbin/fping -p 1 -c 10 kafka.<%= node["redborder"]["cdomain"] %>

0 comments on commit 0fbc4cc

Please sign in to comment.