falk at hb-fein.de
Wed Aug 1 03:26:57 PDT 2001
On Wed, Aug 01, 2001 at 04:07:58AM -0400, Klaus Steden wrote:
> Is there any way to preserve EUID such that output can be written to a common
> log file (i.e. /var/log/procmail) without having to open it up to be globally
> writable? The idea of a globally writable log file is making me a little
> nervous - since that means anyone can stuff whatever they want into it, fill
> disks, etc..
> I'm not crazy about the idea of having each user keep a procmail.log file
> since that's a lot of files to rotate and trim; if at all possible, I'd like
> to keep logging to the one central log file, mode 644 or mode 66[4|0] with a
> group ownership of 'mail'.
> What are my options?
i think, you a re looking for 'logger' this tool writes over the
syslog interface and has various commandline options.
but only you need a little bit cpu power for them.
More information about the esd-l