maj pour bookworm : plus d'authentification

This commit is contained in:
phil 2023-09-21 23:18:13 +02:00
parent 6206d9c866
commit a00d01c8da

6
nagios4/Vagrantfile vendored
View File

@ -71,10 +71,10 @@ Vagrant.configure("2") do |config|
cp /etc/nagios4/apache2.conf /etc/apache2/sites-available/nagios4.conf
a2ensite nagios4.conf
a2enmod rewrite cgi
sed -i 's/Require all/#Require all/' /etc/apache2/conf-enabled/nagios4-cgi.conf
sed -i 's/#Require\tvalid-user/Require\tvalid-user/' /etc/apache2/conf-enabled/nagios4-cgi.conf
# sed -i 's/Require all/#Require all/' /etc/apache2/conf-enabled/nagios4-cgi.conf
# sed -i 's/#Require\tvalid-user/Require\tvalid-user/' /etc/apache2/conf-enabled/nagios4-cgi.conf
systemctl reload apache2
htdigest -b -c /etc/nagios4/htdigest.users "Nagios4" nagiosadmin admin
# htdigest -b -c /etc/nagios4/htdigest.users "Nagios4" nagiosadmin admin
SHELL
end