Load root's environment when using doas

This commit is contained in:
Tristan PILAT 2019-04-14 20:18:55 +02:00 committed by Gitea
parent 2f63cbe0fa
commit 798a482787

View file

@ -1,5 +1,5 @@
# {{ ansible_managed }}
permit setenv {ENV PS1 SSH_AUTH_SOCK SSH_TTY} :wheel
permit setenv {SSH_AUTH_SOCK SSH_TTY PKG_PATH HOME=/root ENV=/root/.profile} :wheel
permit nopass root
permit setenv {ENV PS1 SSH_AUTH_SOCK SSH_TTY} nopass :wheel as root cmd /usr/share/scripts/evomaintenance.sh
permit nopass _nrpe cmd /usr/local/libexec/nagios/check_ipsecctl.sh