Re: traceroute in /usr/bin, not /usr/sbin
On Fri, Jun 15, 2001 at 12:58:27PM +0200, Marcelo E. Magallon wrote:
>
> This is from /sbin on my machine at the moment:
The only criterion that the FHS has on sbin is:
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.
Let's see:
> MAKEDEV
> badblocks
> blockdev
> cfdisk
sbin
> debugfs
Can be run on an image - bin
> depmod
Can be used by any one compiling a kernel - bin
> devfsd
> dhclient
> dhclient-2.0.x
> dhclient-2.2.x
sbin
> dumpe2fs
> dumpreiserfs
> e2fsck
> e2image
> e2label
Same argument as debugfs - bin
> fdisk
sbin
> fsck
> fsck.ext2
> fsck.ext3
> fsck.minix
> fsck.nfs
> fsck.xfs
See debugfs - bin
> genksyms
Even I can't figure out why this is in sbin.
> getty
> halt
> hdparm
> hwclock
sbin
> ifconfig
Can act as a diagnostic tool - bin
> ifdown
> ifup
> inb -- no idea what this is, I can gues, but it doesn't have a manpage
> init
> insmod
> insmod_ksymoops_clean
sbin
> install-mbr
Can act on an image - bin
> installkernel
sbin
> ip
See ifconfig - bin
> ip6tables
> ipmaddr
> iptables
> iptables-restore
> iptables-save
> iptunnel
sbin
> kallsyms
bin
> kbdrate
sbin
> kernelversion
bin
> killall5
Can be used to kill all processes - bin
> klogd
sbin
> ksyms
bin
> ldconfig
Some options can be used by users, e.g., -p - bin
> losetup
sbin
> lsmod
bin
> lspci
Who doesn't want to see all the PCI devices - bin
> mii-tool
Nice diagnostic tool - bin
> mke2fs
> mkfs
> mkfs.ext2
> mkfs.minix
> mkfs.xfs
> mkreiserfs
> mkswap
See debugfs - bin
> modinfo
bin
> modprobe
> nameif
> pivot_root
sbin
> plipconfig
See ifconfig - bin
> poweroff
sbin
> rarp
Diagnostic tool - bin
> raw
> reboot
sbin
> reiserfsck
> resize2fs
> resize_reiserfs
See debugfs - bin
> rmmod
> rmt -- hmm... dubious
sbin
> route
> rtacct
> rtmon
See ifconfig - bin
> runlevel
Anyone can query the current run level - bin
> scanport
> setpci
> sfdisk
> shutdown
> slattach
sbin
> start-stop-daemon
Great tool to find what is and isn't running - bin
> sulogin
sbin
> swapoff
> swapon
Have -s option - bin
> sysctl
Has -a optoin - bin
> syslogd
sbin
> tc
See ip - bin
> telinit
sbin
> tune2fs
See debugfs - bin
> unix_chkpwd -- this shouldn't be here at all: "<not invoked manually>"
> update
> update-modules
sbin
> xfs_repair
See debugfs - bin
--
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: