Quoth Thomas M Steenholdt: > 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) > > > > 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". > > > > > +1 > > This is exactly what we need for this problem. > > /Thomas 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. Regards, -- Conrad Meyer <konrad@xxxxxxxxxx>
Attachment:
signature.asc
Description: This is a digitally signed message part.
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list