htpasswd gets overwritten every couple of days

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
gmdune
Posts: 8
Joined: Thu Feb 24, 2011 11:43 am

htpasswd gets overwritten every couple of days

Post by gmdune »

All,

I'm having a problem with nagios in which the htpasswd files gets overwritten, automatically, about every two days. I think it's apache that's doing it, but I haven't been able to figure out the where this takes place. Has anyone seen this and found a solution?

Thanks
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: htpasswd gets overwritten every couple of days

Post by slansing »

Are you talking about -

Code: Select all

 /usr/bin/htpasswd

OR

Code: Select all

/usr/local/nagiosxi/etc/htpasswd.users
The latter does get changed regularly.
Locked