[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Adding /sbin and /usr/sbin to everyone's path in F10
- From: Matthew Miller <mattdm mattdm org>
- To: Development discussions related to Fedora <fedora-devel-list redhat com>
- Subject: Re: Adding /sbin and /usr/sbin to everyone's path in F10
- Date: Wed, 23 Apr 2008 23:18:33 -0400
On Wed, Apr 23, 2008 at 06:15:35PM -0700, Konrad Meyer wrote:
> I don't know if other people use this at all or not, but something I find
> incredibly useful about having sbin and friends in PATH is that I can
> tab-complete many of the sbin commands I use on a regular basis. This
> convenience means one of the first things I add to my .bashrc on a new
> account anywhere is 'export PATH="$PATH:/sbin:/usr/sbin"'.
>
> Having sudo look in /sbin and /usr/sbin does not address tab-completion in
> bash.
Actually, it does! Rebuild the sudo RPM with the
--with-secure-path=/sbin:/usr/sbin:/bin:/usr/bin
configure option as suggested in bug #80215 [1], install the bash-completion
package, and try it out.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=80215
--
Matthew Miller mattdm mattdm org <http://mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]