From owner-freebsd-questions Wed Dec 12 3:41:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web20606.mail.yahoo.com (web20606.mail.yahoo.com [216.136.226.164]) by hub.freebsd.org (Postfix) with SMTP id 40AC137B419 for ; Wed, 12 Dec 2001 03:41:44 -0800 (PST) Message-ID: <20011212114144.26758.qmail@web20606.mail.yahoo.com> Received: from [136.165.81.139] by web20606.mail.yahoo.com via HTTP; Wed, 12 Dec 2001 03:41:44 PST Date: Wed, 12 Dec 2001 03:41:44 -0800 (PST) From: Donnie Jones Subject: Re: What's this task running as ? To: rshea@opendoor.co.nz Cc: freebsd-questions@freebsd.org In-Reply-To: <3C17E5E1.20927.DAAB0C@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 A very helpful command to see what you have running on your network is "lsof." "lsof -i tcp" That will show all tcp connections currently listening. Maybe then you can see the user that is running the command. -Donnie --- 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 have a problem which I think may be permissions > related so the owner of the > task is of some interest to me. > > regards > > richard shea. __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message