severity 355080 normal
thanks

Ted Percival:
> /usr/bin/krsh in tries to exec rlogin but rlogin is not provided by any
> of heimdal-clients' dependencies.
> Installing the rsh-client package fixes this particular problem, but
> krsh doesn't strip -5 or --krb5 from argv before executing rlogin so
> rlogin complains.
>
> Here are some shell snippets to illustrate the problem:
> [EMAIL PROTECTED]:~$ sudo dpkg --configure -a
> [EMAIL PROTECTED]:~$ krsh localhost
> krsh: execvp rlogin: No such file or directory

Well, what happens is that krsh execs rlogin if no command is
given. I.e., if you write "krsh localhost ls" for example it should
work. rlogin is just a fallback for interactive sessions. I think
there once was a Kerberised rlogin but I can't find it anymore.

Oh, and I'm not sure you can use krsh to localhost at all because
there's no host key for localhost. You need to use your computer's
real domain name.

> ( install rsh-client )

There's no point, because you don't get Kerberos if you use rlogin
from rsh-client.

The point of krsh is to execute a command on a remote server, not run
an interactive session. If you want an interactive session, use
ktelnet. I guess to fix this bug the fallback should be changed to
ktelnet instead of rlogin.

Better yet, use ssh with Kerberos support enabled.

-- 
Pelle


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to