Code: Select all
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadminThen I get this error:
Code: Select all
htpasswd: Unable to generate random bytes: No such file or directoryp.s.: configuration files have been installed by this /etc/nagios/ directory. I tried to create /usr/local/nagios/etc/ directory and copy this files here. And I tried to execute
Code: Select all
htpasswd -c /etc/nagios/htpasswd.users nagiosadminWhat I`m doing wrong?