Re: mutilog via fifo
richard lucassen <[email protected]> Sun, 3 Aug 2008 14:24:49 +0200
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Organization | XAQ Systems |
| Message-ID | <[email protected]> |
On Sun, 3 Aug 2008 12:02:53 +0200 richard lucassen <[email protected]> wrote: > When publicfile is invoked by tcpserver, it runs as user qftp. When > elhttp is invoked by tcpserver this way, it runs as root. > > Why is that? Because I overlooked the -U (or -u -g) option of tcpserver. Question remains why publicfile is running as user qftp while tcpserver has no -U, -u or -g option and why publicfile can write its output to stderr/stdout. So: Is there a way to let program x which is invoked by tcpserver and which runs as user u, write to the logpipe svscan creates? There must be a way to do this, publicfile does. R. -- ___________________________________________________________________ It is better to remain silent and be thought a fool, than to speak aloud and remove all doubt. +------------------------------------------------------------------+ | Richard Lucassen, Utrecht | | Public key and email address: | | http://www.lucassen.org/mail-pubkey.html | +------------------------------------------------------------------+