Adding /sbin and /usr/sbin to everyone's path in F10

Bill Crawford billcrawford1970 at gmail.com
Wed Apr 23 17:23:42 UTC 2008


On 23/04/2008, Tom spot Callaway <tcallawa at redhat.com> wrote:
> I propose that we add /sbin and /usr/sbin to the path for normal users
>  (as well as root) for F10? There are plenty of useful tools in there for
>  non-root users (ifconfig, fdisk, parted), and IMHO, any tool which
>  assumes the user is root because it lives in /sbin is fundamentally
>  broken. The LSB doesn't mandate this (at least, not anywhere I can see),
>  so I propose that we just do it.
>
>  Anyone opposed to such an action?

Not at all.

Please could we write a version of "pathmunge" that uses:

    case ":$path:" in
    "*:$dir:*")
        ;;
    *)
        case $where in
        after)
            path="$path:$dir"
            ;;
        before)
            path="$dir:$path"
            ;;
        esac
    esac

though?




More information about the fedora-devel-list mailing list