[Sunhelp] Using 'rlogin' Command

Trevor Chandler trevorc1653 at email.msn.com
Wed Mar 22 01:58:59 CST 2000


This is a multi-part message in MIME format.

------=_NextPart_000_0008_01BF93A2.3083EB00
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello all,

I am running Solaris 7 on a pentium-based
machine, and Red Hat Linux (release 5.2) on
a pentium-based machine also.

On each machine, I have identical accounts
with identical passwords.

I tried to setup my Linux and Solaris machines
so that I could run the 'rlogin' command from
my Linux (local) machine to connect to my
Solaris (remote) machine.  Without the inclusion
of the .rhosts file, I am prompted for a password --
just as I expect.  When I include the .rhosts file
on the Solaris machine, I am still prompted for=20
a password.

The .rhosts file is in the login (home) directory of the
login account (on the Solaris machine) that is=20
identical to the login account on the Linux machine.

The login account name is: kareem1
The password is: jabbar1
The hostname for the Linux machine is: mach1
The hostname for the Solaris machine is: mach2

Therefore, the entry in the .rhosts file on the
solaris machine (mach1) should be:
      =20
      mach1      kareem1

Any guesses as to why I am still being prompted=20
for a password, even with the correct entry in
the .rhosts file, in the correct login directory, on
the correct hosts.

If I setup the same scenario, but this time attempting
'rlogin' from the Solaris machine to the Linux machine --
BINGO.  Just as I would expect things to work. =20

Why is the Linux machine (apparently) cooperating
by allowing 'rlogin' to happen from the Solaris side, but
the Solaris machine ain't allowing the Linux machine to
'rlogin'?


Thanks in advance to everyone who takes the time to=20
read and respond to my question.

Trevor C.
trevorc at netzero.net



------=_NextPart_000_0008_01BF93A2.3083EB00
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hello all,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>I am running Solaris 7 on a =
pentium-based</FONT></DIV>
<DIV><FONT size=3D2>machine, and Red Hat Linux (release 5.2) =
on</FONT></DIV>
<DIV><FONT size=3D2>a pentium-based machine also.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>On each machine, I have identical =
accounts</FONT></DIV>
<DIV><FONT size=3D2>with identical passwords.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>I tried to setup my Linux and Solaris =
machines</FONT></DIV>
<DIV><FONT size=3D2>so that I could run the 'rlogin' command =
from</FONT></DIV>
<DIV><FONT size=3D2>my Linux (local) machine to connect to =
my</FONT></DIV>
<DIV><FONT size=3D2>Solaris (remote) machine.  Without the=20
inclusion</FONT></DIV>
<DIV><FONT size=3D2>of the .rhosts file, I am prompted for a password=20
--</FONT></DIV>
<DIV><FONT size=3D2>just as I expect.  When I include the .rhosts=20
file</FONT></DIV>
<DIV><FONT size=3D2>on the Solaris machine, I am still prompted for =
</FONT></DIV>
<DIV><FONT size=3D2>a password.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>The .rhosts file is in the login (home) directory of =

the</FONT></DIV>
<DIV><FONT size=3D2>login account (on the Solaris machine) that is =
</FONT></DIV>
<DIV><FONT size=3D2>identical to the login account on the Linux=20
machine.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>The login account name is: kareem1</FONT></DIV>
<DIV><FONT size=3D2>The password is: jabbar1</FONT></DIV>
<DIV><FONT size=3D2>The hostname for the Linux machine is: =
mach1</FONT></DIV>
<DIV><FONT size=3D2>The hostname for the Solaris machine is: =
mach2</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Therefore, the entry in the .rhosts file on =
the</FONT></DIV>
<DIV><FONT size=3D2>solaris machine (mach1) should be:</FONT></DIV>
<DIV><FONT size=3D2>       </FONT></DIV>
<DIV><FONT size=3D2>     =20
mach1      kareem1</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Any guesses as to why I am still being prompted =
</FONT></DIV>
<DIV><FONT size=3D2>for a password, even with the correct entry =
in</FONT></DIV>
<DIV><FONT size=3D2>the .rhosts file, in the correct login directory,=20
on</FONT></DIV>
<DIV><FONT size=3D2>the correct hosts.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>If I setup the same scenario, but this time=20
attempting</FONT></DIV>
<DIV><FONT size=3D2>'rlogin' from the Solaris machine to the Linux =
machine=20
--</FONT></DIV>
<DIV><FONT size=3D2>BINGO.  Just as I would expect things to =
work. =20
</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Why is the Linux machine (apparently) =
cooperating</FONT></DIV>
<DIV><FONT size=3D2>by allowing 'rlogin' to happen from the Solaris =
side,=20
but</FONT></DIV>
<DIV><FONT size=3D2>the Solaris machine ain't allowing the Linux machine =

to</FONT></DIV>
<DIV><FONT size=3D2>'rlogin'?</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Thanks in advance to everyone who takes the time to=20
</FONT></DIV>
<DIV><FONT size=3D2>read and respond to my question.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Trevor C.</FONT></DIV>
<DIV><FONT size=3D2><A=20
href=3D"mailto:trevorc at netzero.net">trevorc at netzero.net</A></FONT></DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>

------=_NextPart_000_0008_01BF93A2.3083EB00--








More information about the SunHELP mailing list