Adding /sbin and /usr/sbin to everyone's path in F10
Casey Dahlin
cjdahlin at ncsu.edu
Wed Apr 23 19:23:50 UTC 2008
Thorsten Leemhuis wrote:
> On 23.04.2008 19:41, Jesse Keating wrote:
>
>> On Wed, 2008-04-23 at 20:33 +0300, Axel Thimm wrote:
>>
>>> In a nutshell: Keep things as are, but if there really is a command
>>> that is used by "normal" users move that out of sbin or make a symlink
>>> (commands that used to live in sbin and moved out are for example
>>> ping and traceroute)
>>>
>
> +1
>
>
>> If we were to keep things the way they are, we need to munge sudo so
>> that it takes into account the sbin paths. Continually doing "sbin foo"
>>
>
> s/sbin/sudo/ I suppose?
>
As a side note, I have this in my .bashrc:
alias sudo="PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin sudo"
Not a distro-type solution, but it has made my life better.
--CJD
More information about the fedora-devel-list
mailing list