Cannot create new user
Posted: Fri Jan 26, 2018 10:58 am
I am running nagios core 4.3.2 on a Red hat 7 server,
And I wanted to create a read-only user for the web gui, I added a user to htpasswd.users
and added the username as below into cgi.cfg
I've tried restarting httpd & nagios
and even tried a reboot in case there were other processes than need restarting.
But my new user doesn't seem to be getting created, as from the httpd error_log i get this error
And If i try to change the nagiosadmin password using htpasswd ./htpasswd.users nagiosadmin it doesn't get changed,
And I wanted to create a read-only user for the web gui, I added a user to htpasswd.users
and added the username as below into cgi.cfg
Code: Select all
[root@n0lnagp01 nagios]# grep nagiosview cgi.cfg
authorized_for_all_services=nagiosadmin,nagiosview
authorized_for_all_hosts=nagiosadmin,nagiosview
authorized_for_read_only=nagiosview
and even tried a reboot in case there were other processes than need restarting.
But my new user doesn't seem to be getting created, as from the httpd error_log i get this error
Code: Select all
[root@n0lnagp01 nagios]# grep nagiosview --color /var/log/httpd/error_log
[Fri Jan 26 12:01:00.588984 2018] [auth_basic:error] [pid 33630] [client 10.60.147.113:59438] AH01618: user nagiosview not found: /nagios