Monday, August 8, 2011

How to Reset Nagiosadmin Password?

Login as a root user and execute the below command

htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

Incase of sudo user, execute the below command

sudo htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin