Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2001 10:34:40 +0100
From:      Edwin Groothuis <mavetju@chello.nl>
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>
In-Reply-To: <20010111082639.15646.qmail@camelot.bitart.com>; from gerti@bitart.com on Thu, Jan 11, 2001 at 02:26:39AM -0600
References:  <20010111082639.15646.qmail@camelot.bitart.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010111103440.G94930>