sudo secure path [was Re: Adding /sbin and /usr/sbin to everyone's path in F10]

Matthew Miller mattdm at mattdm.org
Wed Apr 23 18:26:49 UTC 2008


On Wed, Apr 23, 2008 at 01:41:55PM -0400, Jesse Keating wrote:
> 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"
> and getting foo not found is infuriating to no end, combined with the
> guessing game of "is it /sbin or /usr/sbin I must call out on this
> system this week".

There is no need to munge sudo, actually, since sudo has an option which
makes it easy.

And bash-completion as shipped in fedora already works with this and "sudo
foo[tab]"

<https://bugzilla.redhat.com/show_bug.cgi?id=80215>



-- 
Matthew Miller           mattdm at mattdm.org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>




More information about the fedora-devel-list mailing list