修改nagios密码和遇到的问题
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin密码
密码
service httpd restart
由于本屌丢掉一个s使/var/log/httpd/error.log中报错
(2)No such file or directory: Could not open password file: /usr/local/nagios/etc/htpasswd.users
access to /nagios failed, reason: verification of user id 'nagiosadmin' not configured
(2)No such file or directory: Could not open password file: /usr/local/nagios/etc/htpasswd.users
access to /nagios failed, reason: verification of user id 'nagiosadmin' not configured
(2)No such file or directory: Could not open password file: /usr/local/nagios/etc/htpasswd.users
access to /nagios failed, reason: verification of user id 'nagiosadmin' not configured
(2)No such file or directory: Could not open password file: /usr/local/nagios/etc/htpasswd.users
access to /nagios failed, reason: verification of user id 'nagiosadmin' not configured
这是默认password使用的htpasswd.users文件造成的,后来笨屌直接cp htpasswd.user htpasswd.users。刷新网页,nagios登录成功。
页:
[1]