From owner-freebsd-questions Thu Mar 7 14:49:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 27EDD37B402 for ; Thu, 7 Mar 2002 14:49:00 -0800 (PST) Received: (qmail 3116 invoked by uid 0); 7 Mar 2002 22:48:57 -0000 Received: from tk212017108240.univie.teleweb.at (HELO Deadcell.ant) (212.17.108.240) by mail.gmx.net (mp004-rz3) with SMTP; 7 Mar 2002 22:48:57 -0000 Received: (from ant@localhost) by Deadcell.ant (8.11.6/8.11.6) id g27Mmhd95488; Thu, 7 Mar 2002 23:48:43 +0100 (CET) (envelope-from ant) Date: Thu, 7 Mar 2002 23:48:43 +0100 From: Andreas Ntaflos To: Barry Byrne Cc: freebsd-questions@freebsd.org Subject: Re: Starting daemon only for user; gotta be simple? Message-ID: <20020307234843.G94491@Deadcell.ant> Mail-Followup-To: Barry Byrne , freebsd-questions@freebsd.org References: <20020307191109.B94491@Deadcell.ant> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from barry.byrne@wbtsystems.com on Thu, Mar 07, 2002 at 06:18:47PM -0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Mar 07, 2002 at 06:18:47PM -0000, Barry Byrne wrote: > Andreas: > > Don't use fetchmail myself, but if you need to start it from a startup > script but run as a different user, use su with the -c option. > > su USERNAME -c '/path/to/fetchmail -d 60' > Now that sounds promising! I'll go and try it out, this might be what I was looking for. Thanks a lot and regards -- Andreas "ant" Ntaflos ntaflos.andreas@gmx.net Vienna, AUSTRIA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message