tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:rsh
@ 2001-09-13  7:47 NTarasyuk
  0 siblings, 0 replies; only message in thread
From: NTarasyuk @ 2001-09-13  7:47 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C13C28.68C9B9F6", Size: 3532 bytes --]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C13C28.68C9B9F6
Content-Type: text/plain;
	charset="iso-8859-1"

Thanks to everyone who helped, especially  Thierry Faidherbe, James
Sainsbury, Hajnik Ferenc, Cathy Chandra and others.
Thierry and James came with the solution.

The problem:

I have 3 hosts: box1, box2 and box3.

To allow root's "rsh" from hosts box1 and box2, box3 should have box1 and
box2 names in .rhosts in the root directory.
Correct?
I thought it's all it takes, but...
it works for box1, but doesn't work for box2, though there are nothing
special about either of them.
rsh on box2 comes back with a message "Permission denied".

Example: box2:> rsh box3 ls
Permission denied.

What else should I look at?

Solution:

Very simple. Box1 and Box2 are multihomed. 
For some reason box2 has lost primary network and started to use alternative
connection box2a. 
Name box2a wasn't in .rhosts on box3. 

This list is great!

Nik Tarasyuk
Software Engineer
Snowy Hydro
Australia


------_=_NextPart_001_01C13C28.68C9B9F6
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>SUMMARY:rsh</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks to everyone who helped, =
especially&nbsp; Thierry Faidherbe, James Sainsbury,</FONT> <FONT =
SIZE=3D2 FACE=3D"Arial">Hajnik Ferenc, Cathy Chandra and others.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Thierry and James came with the =
solution.</FONT><BR>

<BR><U><FONT SIZE=3D2 FACE=3D"Arial">The problem</FONT></U><FONT =
SIZE=3D2 FACE=3D"Arial">:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I have 3 hosts: box1, box2 and =
box3.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">To allow root's &quot;rsh&quot; from =
hosts box1 and box2, box3 should have box1 and box2 names in .rhosts in =
the root directory.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Correct?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">I thought it's all it takes, =
but...</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">it works for box1, but doesn't work =
for box2, though there are nothing special about either of them.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rsh on box2 comes back with a message =
&quot;Permission denied&quot;.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Example: box2:&gt; rsh box3 ls</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Permission denied.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">What else should I look at?</FONT>
</P>

<P><U><FONT SIZE=3D2 FACE=3D"Arial">Solution</FONT></U><FONT SIZE=3D2 =
FACE=3D"Arial">:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Very simple. Box1 and Box2 are =
multihomed. </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">For some reason box2 has lost primary =
network and started to use alternative connection box2a. </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Name box2a wasn't in .rhosts on box3. =
</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">This list is great!</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Nik Tarasyuk</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Software Engineer</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Snowy Hydro</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Australia</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C13C28.68C9B9F6--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-13  7:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-13  7:47 SUMMARY:rsh NTarasyuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox