Bjorn Nilsen wrote:
>
> What issues are there with running mrtg as root?
None that I am aware of.
Actually, qmailmrtg7 can run as any user with the following
conditions:
1) Must be able to read the multilog files. The default
installations of qmail/multilog have word readable logs
2) Must be able to write to the html WorkDir directory.
You can run it as any user you want.
Speaking of which, I will update the INSTALL information
so the default installation doesn't use root.
Ken Jones
Big Fun Happy Email!
>
> Bjorn
>
> > -----Original Message-----
> > From: Alex Kramarov [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, 22 June 2001 6:19 a.m.
> > To: [EMAIL PROTECTED]
> > Subject: About qmailmrtg7
> >
> >
> > I think it should be noted in the install docs, that the user
> > running mrtg
> > should have access to the /var/qmail/queue directory, otherwise
> > qmailmrtg7 -q will not work. I personally running mrtg from cron under
> > "mrtg" user, that doesn't have access to almost anything. my
> > solution was :
> >
> > chown qmailq:qmail /usr/local/bin/qmailmrtg7
> > chmod +s /usr/local/bin/qmailmrtg7
> >
> > any better ideas (considering that I don't want to run mrtg
> > under qmailq or
> > root)?
> >
> > Alex.
> >
> >
> >