On Wed, 2011-08-31 at 22:15 +0200, Thomas Schmitt wrote:
> Hi,
> 
> i guess it is not intentional that on a freshly installed Debian GNU/Hurd
>   $ su
>   Password:

> PATH looks like inherited from my normal user.
>   # echo $PATH
>   /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/thomas

Yes it is!

> On the hosting Debian GNU/Linux amd64 i see
>   $ echo $PATH
>   /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/thomas
>   $ su
>   Password:
>   # echo $PATH
>   /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Debian has fixed this already.

>  It gets not performed on su.

You need to use su - to get the root patch. Or add /sbin:/usr/sbin to
your own .bashrc




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to