Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 22:50:42 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        rshea@opendoor.co.nz
Cc:        freebsd-questions@freebsd.org
Subject:   Re: What's this task running as ?
Message-ID:  <20011212225042.E724@k7.mavetju.org>
In-Reply-To: <3C17E5E1.20927.DAAB0C@localhost>; from rshea@opendoor.co.nz on Wed, Dec 12, 2001 at 11:18:57PM %2B1300
References:  <3C17E5E1.20927.DAAB0C@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 12, 2001 at 11:18:57PM +1300, rshea@opendoor.co.nz wrote:
> Hi - In my inetd.conf I've got ...
> 
> cvspserver stream tcp nowait root /usr/local/bin/cvs cvs --allow-root=/usr/local/newrepos pserver
> 
> .... I'm not expert but I thought this meant that when data arrives at the port 
> associated with cvspserver then cvs should be run under the userid root.
> 
> However in an O'Reilly book I have to hand it says that "the cvs server runs 
> briefly as root" - how can I find out what user it runs as once it stops 
> running as root ? It's not visible via ps as it starts, does whatever is 
> necessary and then stops.

I think it will set the uid to the one of the user logged in via
CVS. Sounds what like what it should be doing :-)

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

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?20011212225042.E724>