On Fri, 22 Jun 2001, Ralf Hildebrandt wrote:

> On Fri, Jun 22, 2001 at 01:54:55AM -0700, Manan Sanghi wrote:
>
> > I wish to run tcpdump on a remote machine for which I
> > don't have the root access. When I tried to run the
> > program I got the following error message :
> >
> > tcpdump: socket: Operation not permitted
> >
> > What can I do (or request someone with the root
> > permissions to do) so that I may run tcpdump there
> > without worrying about any security problems?
>
> I think it must be made setuid(root).
> $ chmod 1755 tcpdump

Yes, the mode is 4755 though (probably a typo :).

It might be interesting to note that there's a patch, also submitted
here, so that root privileges are dropped when run as root.

-- 
Pekka Savola                 "Tell me of difficulties surmounted,
Netcore Oy                   not those you stumble over and fall"
Systems. Networks. Security.  -- Robert Jordan: A Crown of Swords

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to