Re: [email@example.com: Bug#100744: Binary should be in /usr/bin, since it's useful to non-admins.]
On Thu, Jun 14, 2001 at 03:37:56AM -0500, Bryan Andersen wrote:
> Sami Haahtinen wrote:
> > i remember a same kind of discussion on traceroute package itself
> > (Bug: #64718), and according to that, the only reason to keep
> > traceroute in /usr/sbin is that it will break scripts which have
> > full paths (i wonder why)
> Fixed paths are used in scripts for security reasons. This way the
> expected program is run rather than a trojan or some other program
> with the same name. This assumes the program in the normal posisiton
> is the real one. :-)
i think i should have added <sarcasm /> there.
> traceroute was placed in /usr/sbin long before more rigid standards
> for program placement were adopted. So its' placement is an artefact
> of older looser program placement rules.
so wouldn't this be the time and the place to fix it?
> I'd just close the bug report and state that it can't be moved du to
> it's being cemented in place by other program's using fixed paths to
> locate it.
a better solution (imho) would be to replace /usr/sbin/traceroute with a
script noting that the location has changed and the usage of this
location is depreciated (and after that note it would run the traceroute
with the correct location)
-< Sami Haahtinen >-
-< 2209 3C53 D0FB 041C F7B1 F908 A9B6 F730 B83D 761C >-