[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



On 23/04/2008, Tom spot Callaway <tcallawa 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?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]