[1923] in Kerberos-V5-bugs
try_normal in krlogin.c must check for rsh as well as rlogin
daemon@ATHENA.MIT.EDU (p-pomes@Qualcomm.com)
Wed May 15 14:00:40 1996
To: krb5-bugs@MIT.EDU
From: p-pomes@Qualcomm.com
Date: Wed, 15 May 1996 11:00:05 -0700
krlogin.c must also check whether host contains rsh as well as rlogin
in the try_normal() routine:
mensa{51}> rsh hydra1
rsh: kcmd to host hydra1 failed - No credentials cache file found
trying normal rlogin (/bin/rlogin)
usage: rlogin [ -E | -ex ] [ -l username ] [ -8 ] [ -L ] host
Fix is to modify krlogin.c:
1580c1580
< if (!strcmp(host, "rlogin"))
---
> if (!strcmp(host, "rlogin") || !strcmp(host, "rsh"))