On Wed, 2008-04-23 at 14:59 -0500, Chris Adams wrote:
Once upon a time, Matthew Miller <mattdm(a)mattdm.org> said:
> And I think we could solve 99.9% of the annoyance by addressing ifconfig,
> fdisk, lsmod, route, and the other small handful of programs mentioned in
> this thread. Like I said, it worked for traceroute back in 2003. :)
Again, here's my personal list-at-a-glance of things to look at:
bind:
/usr/sbin/rndc
chkconfig:
/sbin/chkconfig
freeipmi:
/usr/sbin/ipmiconsole
/usr/sbin/ipmipower
hardlink:
/usr/sbin/hardlink
iproute:
/sbin/ip
module-init-tools:
/sbin/lsmod
/sbin/modinfo
net-tools:
/sbin/arp
/sbin/ifconfig
/sbin/route
ntp:
/usr/sbin/ntpq
pciutils:
/sbin/lspci
usbutils:
/sbin/lsusb
wireless-tools:
/sbin/iwconfig
/sbin/iwlist
That's 16 commands from 11 packages. Yes, there are a few more, but not
all that many. How hard would is be to just fix these (either symlink
or just move to /bin or /usr/bin as appropriate)?
Consider the unprivileged use of removable media. And consider people
dealing with virtual machine images, emulators and building images for
embedded systems. In all these situations, I find myself wanting all
disk/filesystem tools as a non-root user. So add to the list:
/sbin/badblocks
/sbin/blkid
/sbin/cfdisk
/sbin/debugfs
/sbin/debugreiserfs
/sbin/dosfsck
/sbin/dosfslabel
/sbin/dumpe2fs
/sbin/e2fsck
/sbin/e2image
/sbin/e2label
/sbin/fdisk
/sbin/fsck
/sbin/fsck.ext2
/sbin/fsck.ext3
/sbin/fsck.msdos
/sbin/fsck.reiserfs
/sbin/fsck.vfat
/sbin/mkdosfs
/sbin/mke2fs
/sbin/mkfs
/sbin/mkfs.cramfs
/sbin/mkfs.ext2
/sbin/mkfs.ext3
/sbin/mkfs.msdos
/sbin/mkfs.ntfs
/sbin/mkfs.reiserfs
/sbin/mkfs.vfat
/sbin/mkreiserfs
/sbin/mkswap
/sbin/parted
/sbin/reiserfsck
/sbin/reiserfstune
/sbin/resize2fs
/sbin/resize_reiserfs
/sbin/sfdisk
/sbin/tune2fs
/usr/sbin/mkntfs
/usr/sbin/ntfsclone
/usr/sbin/ntfscp
/usr/sbin/ntfslabel
/usr/sbin/ntfsresize
/usr/sbin/ntfsundelete
43 more commands from 6 packages.