From owner-freebsd-questions Thu Jan 11 1:35: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from d9168.upc-d.chello.nl (d9168.upc-d.chello.nl [213.46.9.168]) by hub.freebsd.org (Postfix) with ESMTP id C54DC37B404 for ; Thu, 11 Jan 2001 01:34:41 -0800 (PST) Received: by d9168.upc-d.chello.nl (Postfix, from userid 1001) id 308E3372; Thu, 11 Jan 2001 10:34:40 +0100 (CET) Date: Thu, 11 Jan 2001 10:34:40 +0100 From: Edwin Groothuis To: gerti-freebsdq@BITart.com Cc: freebsd-questions@freebsd.org Subject: Re: Starting process as different user via rc Message-ID: <20010111103440.G94930@d9168.upc-d.chello.nl> Mail-Followup-To: Edwin Groothuis , gerti-freebsdq@BITart.com, freebsd-questions@freebsd.org References: <20010111082639.15646.qmail@camelot.bitart.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010111082639.15646.qmail@camelot.bitart.com>; from gerti@bitart.com on Thu, Jan 11, 2001 at 02:26:39AM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jan 11, 2001 at 02:26:39AM -0600, Gerd Knops wrote: > Is there a way (eg a small utility or some such) that would allow a > process/script to be started from rc using a different UID than root? > SUID would be a poor solution in the case I have in mind. You can use su for it I think: [/usr/home/edwin] root@kludge>su - www whoami www Edwin -- Edwin Groothuis | Interested in MUDs? Visit Fatal Dimensions: mavetju@chello.nl | http://fataldimensions.nl.eu.org/ ------------------+ telnet://fataldimensions.nl.eu.org:4000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message