On Sun, Jan 07, 2001 at 12:04:14AM +0200, Eray Ozkural (exa) wrote: > [EMAIL PROTECTED]:~$ telnet borg > Trying 139.179.21.143... > Connected to borg.cs.bilkent.edu.tr. > Escape character is '^]'. > Debian GNU/Linux woody borg.cs.bilkent.edu.tr > login: root > Password: > [EMAIL PROTECTED]:~# echo $PATH > /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games > [EMAIL PROTECTED]:~# su > [EMAIL PROTECTED]:~# echo $PATH > /sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin
Debian has always exhibited this behavior for me. There's a simple workaround: don't log in as root. I don't know which is more distasteful: That you have telnet enabled, or that you have enabled remote root logins via telnet. Interesting, RedHat 5.1 (and up?) exhibits exactly the opposite phenomenon. Log in as root and you get the right paths. su without '-' and you don't.
pgpnqYVr5ssqJ.pgp
Description: PGP signature