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

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

 



On Wed, Apr 23, 2008 at 11:41:53AM -0500, Les Mikesell wrote:
> Richard W.M. Jones wrote:
>> On Wed, Apr 23, 2008 at 11:30:31AM -0400, 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?
>>
>> FWIW, Debian doesn't have these in normal users' PATH, but does change
>> the PATH to include them when you do 'su'.
>>
>> On a Debian system:
>>
>>   $ echo $PATH
>>   /home/rich/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
>>   $ su
>>   Password:   # echo $PATH
>>   /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
>>
>> I don't know how Debian does this, but it's extremely useful.
>
> What happens if a debian user types 'ifconfig' to find his IP address?

$ ifconfig
-bash: ifconfig: command not found

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux