Hello,
I am trying to change the root password and I have used the command :
htpasswd –c /usr/local/nagios/etc/htpasswd.users nagiosadmin
But I am getting an error saying something about htpasswd being a typo. Any suggestions? I am on Ubuntu using CORE 4.0.4
Change Root Password
Re: Change Root Password
We would need to see the error message you're receiving to help.
One alternate way around, is to manually populate the hash in /usr/local/nagios/etc/htpasswd.users file by using a generator such as http://www.htaccesstools.com/htpasswd-generator/
One alternate way around, is to manually populate the hash in /usr/local/nagios/etc/htpasswd.users file by using a generator such as http://www.htaccesstools.com/htpasswd-generator/
Former Nagios Employee
-
- Posts: 17
- Joined: Tue Jan 19, 2016 10:06 am
Re: Change Root Password
The message I am getting after this command :
htpasswd –c /usr/local/nagios/etc/htpasswd.users nagiosadmin
is:
"If 'htpasswd' is not a typo you can use command-not-found to lookup the package that contains it. like this: cnf htpasswd"
Thanks for the password site.
htpasswd –c /usr/local/nagios/etc/htpasswd.users nagiosadmin
is:
"If 'htpasswd' is not a typo you can use command-not-found to lookup the package that contains it. like this: cnf htpasswd"
Thanks for the password site.
Re: Change Root Password
Try running apt-get install apache2-utils to install the htpasswd component. (if that's not it, it may be thttpd - I don't have an Ubuntu machine handy to test with.)
Former Nagios Employee
-
- Posts: 17
- Joined: Tue Jan 19, 2016 10:06 am
Re: Change Root Password
ran zypper install thttpd, and it worked afterinstall....thx
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Change Root Password
It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
-
- Posts: 17
- Joined: Tue Jan 19, 2016 10:06 am
Re: Change Root Password
You can lock it thats fine