[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: traceroute in /usr/bin, not /usr/sbin

Miquel van Smoorenburg <miquels@cistron-office.nl> wrote:
> In article <[🔎] E15ATIG-0007Vm-00@gondolin.me.apana.org.au>,
> Herbert Xu  <herbert@gondor.apana.org.au> wrote:
>>To adhere to that, almost everything in /sbin,/usr/sbin will have to be
>>moved out:
>>ifconfig, sendmail, route, etc.

> netstat -i

So? The paragraph from the FHS which people are quoting says:

       Deciding what things go into "sbin" directories is simple: If a normal
       (not a system administrator) user will ever run it directly, then it
       should be placed in one of the "bin" directories.  Ordinary users should
       not have to place any of the sbin directories in their path.

And I as a normal user not only have used all three commands.  In fact,
I use them regularly.

>> sendmail

> why? When does a user call sendmail on the command line? And if
> anything is hardcoded it's /usr/sbin/sendmail nowadays

I use it when I need to set -f.

>> route

> netstat -r

route is shorter.  Besides, the command ip is also in /sbin.

I'm sick and tired of people applying that paragraph just to traceroute
while ignoring everything else in sbin.
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply to: