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 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@xxxxxxxxxx          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>

-- 
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