home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!spool.mu.edu!yale.edu!jvnc.net!primerd.prime.com!nt1l!nt1l!aardvark
- From: aardvark@nt1l.krl.com (Donald Koch)
- Subject: Re: traceroute
- Message-ID: <1992Sep12.235114@nt1l.krl.com>
- Sender: aardvark@nt1l (Donald Koch)
- Nntp-Posting-Host: nt1l
- Organization: Koch Research Labs
- References: <1992Sep12.210628.5967@biome.bio.ns.ca>
- Distribution: na
- Date: Sun, 13 Sep 1992 03:51:14 GMT
- Lines: 17
-
- In article <1992Sep12.210628.5967@biome.bio.ns.ca>, silvert@biome.bio.ns.ca (Bill Silvert) writes:
- > I've been asked why only root can run traceroute on a PI. It is mode 755,
- > but only root can access the necessary socket. Apparently on other
- > platforms you don't have to be root to run it. Any answers out there?
-
- traceroute needs root access in order to open a raw socket which allows
- the program the ability to send anything out it needs. I don't know of
- any machine that will let this program run except by root or setuid'ed to root
- (which is not advised for other reasons). From the source code:
-
- * This program must be run by root or be setuid. (I suggest that
- * you *don't* make it setuid -- casual use could result in a lot
- * of unnecessary traffic on our poor, congested nets.)
-
- --
- Don Koch
- aardvark@nt1l.krl.com
-