delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/12/09:28:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 12 Aug 2002 09:28:48 -0400
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: Multiple users in fetchmail
In-reply-to: <20020812103113.H17250@cygbert.vinschen.de>
To: cygwin AT cygwin DOT com
Mail-followup-to: cygwin AT cygwin DOT com
Message-id: <20020812132847.GB1928@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <20020811140204 DOT 3f1780c9 DOT jim DOT george AT blueyonder DOT co DOT uk>
<20020812103113 DOT H17250 AT cygbert DOT vinschen DOT de>

On Mon, Aug 12, 2002 at 10:31:13AM +0200, Corinna Vinschen wrote:
> On Sun, Aug 11, 2002 at 02:02:04PM +0100, Jim George wrote:
> > in the Linux version of fetchmail I was able to run the daemon as
> > root and fetch/deliver mail (through procmail) for multipl users.
> > Reading the man/README/archives of this list, I don't appear to have
> > that option anymore.  I also don't appear to be able to install/run
> > to instances of the same service under different user IDs.
> 
> Try running fetchmail in daemon mode as service under SYSTEM account.

Grep-ing the fetchmail code, I get the following:

    $ grep 'set.*uid' *.c
    sink.c:    seteuid(ctl->uid);
    sink.c:    seteuid(0);

So, I presume that I will have to change the second hit above to:

    seteuid(18);

I will do so and report back to the list.

Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019