From: "Ben Kennish" <[EMAIL PROTECTED]>
>
> I suppose I could setup separate logrotate cron jobs for the admin,
> web and root user (no editing root users) but it seems a bit messy.
> Is this the only solution?
>

That's what I do -- have one copy of logrotate running as root which reads
from /etc/logrotate.conf and just rotates the system log files. Then have a
second copy which reads from /www/conf/logrotate.conf and runs as http to
rotate the apache log files. The admin user can edit the
/www/conf/logrotate.conf but not the /etc/logrotate.conf.

You could add a third to rotate logs for the admin user, but they don't
usually have any, and could set it up themselves if needed.

-Simon

------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to