Adding /sbin and /usr/sbin to everyone's path in F10

Denis Leroy denis at poolshark.org
Wed Apr 23 19:47:46 UTC 2008


Hans de Goede wrote:
> Tom "spot" Callaway wrote:
>> I propose that we add /sbin and /usr/sbin to the path for normal users
>> (as well as root) for F10? There are plenty of useful tools in there for
>> non-root users (ifconfig, fdisk, parted), and IMHO, any tool which
>> assumes the user is root because it lives in /sbin is fundamentally
>> broken. The LSB doesn't mandate this (at least, not anywhere I can see),
>> so I propose that we just do it.
>>
>> Anyone opposed to such an action?
>>
> 
> Not at all,
> 
> +1000000
> 
> I've been consistenly changing /etc/profile todo exactly this since the 
> day I started using RH 4.0

+1 for me also.

rmmod was given as an example of an sbin executable that has no non-root 
uses. I disagree with that, it has 2 perfectly valid uses: 'rmmod -V' 
and 'rmmod -h' :-)

My concern would more be on the sudden appearance in PATH of daemons 
that have no business being run from the shell even as root (other than 
for debugging), such has httpd or wpa_supplicant, but maybe that's 
another debate...

-denis




More information about the fedora-devel-list mailing list