Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 03:41:44 -0800 (PST)
From:      Donnie Jones <donniejones18@yahoo.com>
To:        rshea@opendoor.co.nz
Cc:        freebsd-questions@freebsd.org
Subject:   Re: What's this task running as ?
Message-ID:  <20011212114144.26758.qmail@web20606.mail.yahoo.com>
In-Reply-To: <3C17E5E1.20927.DAAB0C@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

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




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