diff --git a/config/etc/profile b/config/etc/profile index 912d3d0b9..2d6668558 100644 --- a/config/etc/profile +++ b/config/etc/profile @@ -35,11 +35,13 @@ fi # Path manipulation if [ "$EUID" = "0" ]; then + pathmunge /sbin pathmunge /usr/sbin pathmunge /usr/local/sbin else pathmunge /usr/local/sbin after pathmunge /usr/sbin after + pathmunge /sbin after fi HOSTNAME=`/bin/hostname 2>/dev/null`