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
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
No comments:
Post a Comment