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

Re: traceroute /usr/bin -> /usr/sbin



On 22 Jun 2001, Peter Novodvorsky wrote:

> ressu@uusikaupunki.fi (Sami Haahtinen) writes:

> > current votes: (total 687)
> > bin -> 50.36% (346)
> > sbin -> 25.62% (176)

> This fact proves that crowd's opinion always lies.

> traceroute needs special privileges (ability to open ICMP socket). So
> it should be placed in sbin.

How does *THAT* follow?

$ find /usr/bin/ -perm +06000 -exec ls -l {} \;
-rwxr-sr-x    1 root     tty          9212 May  9 09:00 /usr/bin/wall
-rwsr-xr-x    1 root     root        19068 May 16 06:00 /usr/bin/newgrp
-rwxr-sr-x    1 root     root        32188 May 16 05:59 /usr/bin/chage
-rwsr-xr-x    1 root     root        25916 May 16 05:59 /usr/bin/chfn
-rwsr-xr-x    1 root     root        23932 May 16 05:59 /usr/bin/chsh
-rwxr-sr-x    1 root     root        16060 May 16 05:59 /usr/bin/expiry
-rwsr-xr-x    1 root     root        33052 May 16 05:59 /usr/bin/gpasswd
-rwsr-xr-x    1 root     root        24764 May 16 05:59 /usr/bin/passwd
-rwsr-xr-x    1 root     root        22204 May  6 11:54 /usr/bin/crontab
-rwsr-xr-x    1 root     root        34480 Apr  3  2000 /usr/bin/at
-rwxr-sr-x    1 root     tty          7412 Apr 15 14:36 /usr/bin/write
-rwxr-sr-x    1 root     mail         8652 Apr  6 03:03 /usr/bin/dotlockfile
-rwxr-sr-x    1 root     mail         7184 Apr  1 15:49 /usr/bin/mutt_dotlock
-rwsr-xr-x    1 root     root        30780 Apr 15 17:52 /usr/bin/mtr
-rwsr-sr-x    1 root     mail        64064 Apr 14 10:21 /usr/bin/procmail
-rwxr-sr-x    1 root     mail        11576 Apr 14 10:21 /usr/bin/lockfile
-rwxr-sr-x    1 root     utmp         3148 Nov 16  2000 /usr/bin/Eterm
-rwsr-xr-x    1 root     root       583804 May 12 20:41 /usr/bin/gpg
-rwxr-sr-x    1 root     mail         5968 Apr 29 14:41 /usr/bin/mail-lock
-rwsr-xr-x    2 root     root        58664 May 28 00:29 /usr/bin/suidperl
-rwsr-xr-x    1 root     root        78844 Apr 23 00:25 /usr/bin/sudo
-rwsr-xr-x    1 root     root         4364 May  5 15:36 /usr/bin/artswrapper
-rwxr-sr-x    1 root     nogroup     52716 May 13 11:07 /usr/bin/kdesud
-rwsr-xr-x    1 root     root        38780 May 16 18:42 /usr/bin/ksu
-rwsr-xr-x    1 root     root        33404 Mar 16 14:33 /usr/bin/splaymidi
-rwsr-xr-x    1 root     root       394364 Apr 21 16:58 /usr/bin/smbmount
-rwxr-sr-x    1 root     shadow       6796 May 13 11:07 /usr/bin/kcheckpass
-rwsr-xr-x    1 root     root         4760 May 13 11:07 /usr/bin/konsole_grantpty
-rwxr-sr-x    1 root     shadow     223820 May 17 21:04 /usr/bin/xscreensaver
-rwsr-xr-x    2 root     root        58664 May 28 00:29 /usr/bin/sperl5.6.1
-rwsr-xr-x    1 root     root       383356 Apr 21 16:58 /usr/bin/smbumount
-rwsr-xr-x    1 root     root       384988 Apr 21 16:58 /usr/bin/smbmnt


So all of these programs, because they require 'special privileges', should be
in /usr/sbin?

And all of the client programs from the lpr package, since those are also
suid/sgid (not shown above because I have lprng installed)?

To say nothing of your bizarre inductive 'proof' about polls.  I'm amazed at
how many people have voiced the opinion that what our users consider useful
should not be a consideration in deciding where to put traceroute.

Steve Langasek
postmodern programmer



Reply to: