yum update -y ok-release
Loaded plugins: fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile http://opensource.is/repo/rhel6.5/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ok. Please verify its path and try again
so the correct command to set nagios’s password is " htpasswd -c -b /etc/nagios/htpasswd.users User Paassword " but it doesn’t work probably for the peculiar configuration of nethserver…
Just for information: Adagios already has its file to store usernames and password for basic authentication of HTTP users (/etc/nagios/passwd)
You should be able to add a new user using the syntax:
htpasswd /etc/nagios/passwd myusername
You can enable Adagios access control too: you have to add some directives into /etc/adagios/adagios.conf file (https://github.com/opinkerfi/adagios/wiki/Users-guide).
Eventually remember to add your new user among admins!
1 Like
alefattorini
(Alessio Fattorini)
Split this topic
12