securing cacti

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
lipos
Posts: 31
Joined: Thu Jul 24, 2008 3:47 am

securing cacti

Post by lipos »

I just set up my test cacti server and it's working so well that I'm thinking about moving it to the production environment. I'm running it as root and I will liek to change it to cactiuser. ANy idea about the steps that I should take?

Also, do you guys know some cacti voulnearabilities that should be take under a consideration in a production server?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: securing cacti

Post by gandalf »

lipos wrote:I just set up my test cacti server and it's working so well that I'm thinking about moving it to the production environment. I'm running it as root and I will liek to change it to cactiuser. ANy idea about the steps that I should take?
That's a bad approach; running as root is not required in any circumstance.
You will have to change the crontab to use cactiuser instead of root (which crontab do you use?)
You will have to change ownership of all rrd files in the rra folder to cactiuser and the folder itself as well.
You will have to pay attention to execute permissions of scripts. Make sure, cactiuser is allowed to execute them.
Then, please pay attention, if any script uses restricted commands that are only available to root.
Make sure all files in the log folder are owned by cactiuser, allow write access for cactiuser.
Also, do you guys know some cacti voulnearabilities that should be take under a consideration in a production server?
To be honest: Do you REALLY think if there was any vulnerability that we would discuss it in the public instead of fixing it? :o
Reinhard
lipos
Posts: 31
Joined: Thu Jul 24, 2008 3:47 am

Post by lipos »

Thank you!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests