On Wed, Apr 11, 2001 at 01:26:11AM +0200, Peter van Dijk wrote:
> On Tue, Apr 10, 2001 at 02:40:24PM -0700, Sean Chittenden wrote:
> >     Anyone know of any reasion why I shouldn't set the qmail-qread
> > and qmail-qstat as setuid root?  I've looked through the source, but
> > am looking for a last confirmation or "don't do that."  -sc
> 
> # envuidgid qmails tcpserver -U localhost 82 /var/qmail/bin/qmail-qread &

An alternative, that I use, is to use a UNIX local domain socket, using
either my ucspi-unix or ucspi-local.  Then it doesn't even have to use
up a TCP port.

> $ nc localhost 82

or "tcpcat localhost 82", since tcpcat comes with ucspi-tcp.
-- 
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/

PGP signature

Reply via email to