base: add entry in doas.conf for sd0 in case we have a hard raid

This commit is contained in:
Jérémy Dubois 2022-08-04 18:25:08 +02:00
parent 8e3b4b35cd
commit 891513d633
2 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- base: session timeout is configurable
- add a update-utils.yml playbook to update scripts
- base: use a variable to define ntpd server
- base: add entry in doas.conf for sd0 in case we have a hard raid
### Changed

View File

@ -4,6 +4,7 @@ permit nopass root
permit setenv {ENV PS1 SSH_AUTH_SOCK SSH_TTY} nopass :{{ evobsd_ssh_group }} as root cmd /usr/share/scripts/evomaintenance.sh
permit nopass _collectd as root cmd /bin/cat
permit nopass _collectd as root cmd /usr/sbin/bgpctl
permit nopass _nrpe as root cmd /sbin/bioctl args sd0
permit nopass _nrpe as root cmd /sbin/bioctl args sd2
permit nopass _nrpe as root cmd /usr/local/libexec/nagios/plugins/check_mailq.pl
permit nopass _nrpe as root cmd /usr/local/libexec/nagios/plugins/check_ipsecctl.sh