OP#436 add user access

This commit is contained in:
2026-02-14 21:40:03 +01:00
parent 1b5e4b331e
commit f6a966a805
3 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,8 @@
# @param [String] ng_main_user The username for the Nagios web interface. # @param [String] ng_main_user The username for the Nagios web interface.
# Default is 'nagios'. # Default is 'nagios'.
# @param [String] ng_main_password The encrypted password for the Nagios web # @param [String] ng_main_password The encrypted password for the Nagios web
# interface. Default is 'nagios'. # interface. Default is 'nagios'. Must be properly encrypted using the
# htpasswd utility.
############################################################################### ###############################################################################
class confdroid_nagios::params ( class confdroid_nagios::params (

View File

@@ -19,7 +19,7 @@ class confdroid_nagios::server::access_rules (
selrole => object_r, selrole => object_r,
seltype => nagios_etc_t, seltype => nagios_etc_t,
seluser => system_u, seluser => system_u,
notify => Service[$ng_nagios_service], notify => Exec['reload_httpd'],
} }
# manage file header # manage file header

View File

@@ -1,2 +1 @@
<%= @ng_main_user %>:<%= @ng_main_password %> <%= @ng_main_user %>:<%= @ng_main_password %>
# custom lines below