[mrtg] Re: WARNING : Rateup rename name.log to name.old but with root right

Sebastien Andreatta number_85_ at hotmail.com
Wed Feb 8 17:11:18 MET 2006

>Check the user that the crontab entry is run as. If it's not root, make 
>sure that that particular user has write access to the mrtg files. (they 
>should be owned by that user)

I already check this ;-) thanks :

Crontab for Number user :

#Mise a jours Mrtg
*/5 * * * * /usr/bin/mrtg /etc/mrtg/mrtg.cfg &>/dev/null
*/5 * * * * /usr/lib/sa/sa1 &>/dev/null

The /usr/bin/mrtg have the root right :
User: root - Group: root
Chmod : 700

/var/lib/mrtg/ (Where the log file was save at .old with only root access)
User: number - Group: number
chmod 770

/var/www/mrtg/ (Where the html and .png file was save)
User: number - Group: number
chmod 770

Now i'm trying with number right for the binary mrtg ..
I hope that can resolv the problem.. ?

Protégez votre boîte de réception: Phishing : comment l'identifier, le 
signaler et l'empêcher   http://www.fr.msn.be/security/phishing/

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the mrtg mailing list