HP-UX rlogin problem

  • Follow


Hello,

II'm new to HP UX and I'm aving a little problem....

I have 2 HPUX machines. host1 and host2. I created 1 account on host1
(acc1).
Both machines are on my network, they can telnet, ping ftp  each other
no problem there.

I used the automount system to automount the host1:/home/acc1 directory
on host2, everything works.  Now, i would like to be able to be rlogin
as acc1 in host2. For some reason it does not work. I think i have
everything setup correctly in my /etc/hosts and /etc/hosts.equiv files.
But it does not work.

Anybody have an idea on how i can make this work?
Any coomment, help would be much appreciated.

Many thanks.

0
Reply maxime.alarie (4) 3/21/2006 9:06:34 PM

"Max" <maxime.alarie@gmail.com> wrote:

>Hello,
>
>II'm new to HP UX and I'm aving a little problem....
>
>I have 2 HPUX machines. host1 and host2. I created 1 account on host1
>(acc1).
>Both machines are on my network, they can telnet, ping ftp  each other
>no problem there.
>
>I used the automount system to automount the host1:/home/acc1 directory
>on host2, everything works.  Now, i would like to be able to be rlogin
>as acc1 in host2. For some reason it does not work. I think i have
>everything setup correctly in my /etc/hosts and /etc/hosts.equiv files.
>But it does not work.
>
>Anybody have an idea on how i can make this work?
>Any coomment, help would be much appreciated.
>
>Many thanks.

Have you created acc1 on host2?
You will need to do this before you can log in.

Ted.
==============================================================
| Ted Linnell                 <edlinnell@acslink.net.au>     |
|                                  |
| Nunawading, Victoria , Australia                           |
==============================================================
0
Reply Ted 3/22/2006 1:23:02 AM


Max <maxime.alarie@gmail.com> wrote:
[deleted]
>						      I think i have
> everything setup correctly in my /etc/hosts and /etc/hosts.equiv files.

  You probably mean ~/.rhosts, not /etc/hosts.

> But it does not work.

  Define "does not work". I.e. what (exactly) do you do, what do you
expect to happen and what does happen (i.e. (error) message)? This may
sound like asking for the obvious, but believe me, two decades of
experience says it's not.

  Other than that missing information: A common error is that the
..rhosts file (on the target/server system) is not owned by the user in
whose home directory it is. In other words: (In your case on host2) file
~franks/.rhosts *must* be owned by user franks.

  Also, first start with ~/.rhosts, because that is simpler to get
right. When that works, you might try to incorporate the information
into the system-wide /etc/hosts.equiv.
0
Reply Frank 3/22/2006 2:21:25 PM

Hi there,

you have to create a file named "/.rhosts" in the root directory of your 
systems.

On system host1 it looks like

host2 username

Bye

"Max" <maxime.alarie@gmail.com> schrieb im Newsbeitrag 
news:1142975194.939908.29200@g10g2000cwb.googlegroups.com...
> Hello,
>
> II'm new to HP UX and I'm aving a little problem....
>
> I have 2 HPUX machines. host1 and host2. I created 1 account on host1
> (acc1).
> Both machines are on my network, they can telnet, ping ftp  each other
> no problem there.
>
> I used the automount system to automount the host1:/home/acc1 directory
> on host2, everything works.  Now, i would like to be able to be rlogin
> as acc1 in host2. For some reason it does not work. I think i have
> everything setup correctly in my /etc/hosts and /etc/hosts.equiv files.
> But it does not work.
>
> Anybody have an idea on how i can make this work?
> Any coomment, help would be much appreciated.
>
> Many thanks.
> 


0
Reply Paul 3/23/2006 6:32:45 PM

"Paul Bullack" <paul.bullack@t-online.de> wrote:

>Hi there,
>
>you have to create a file named "/.rhosts" in the root directory of your 
>systems.
>
>On system host1 it looks like
>
>host2 username
>
>Bye
>
>"Max" <maxime.alarie@gmail.com> schrieb im Newsbeitrag 
>news:1142975194.939908.29200@g10g2000cwb.googlegroups.com...

And permissions MUST be 600, or it will not work.

Ted.

==============================================================
| Ted Linnell                 <edlinnell@acslink.net.au>     |
|                                  |
| Nunawading, Victoria , Australia                           |
==============================================================
0
Reply Ted 3/24/2006 1:21:49 AM

Ted Linnell <edlinnell@acslink.net.au> wrote:
> "Paul Bullack" <paul.bullack@t-online.de> wrote:
> 
> >Hi there,
> >
> >you have to create a file named "/.rhosts" in the root directory of your 
> >systems.
> >
> >On system host1 it looks like
> >
> >host2 username
> >
> >Bye
> >
> >"Max" <maxime.alarie@gmail.com> schrieb im Newsbeitrag 
> >news:1142975194.939908.29200@g10g2000cwb.googlegroups.com...
> 
> And permissions MUST be 600, or it will not work.

  No, *that* one is a "should", not a "must":

man> WARNINGS
man> For security purposes, the files /etc/hosts.equiv and .rhosts
man> should exist and be readable and writable only by the owner, even
man> if they are empty.

  On the contrary, it's better to *start* having it wide open, i.e. 666,
in case there are any other issues.

  But all of this is rather moot, because it doesn't really help to put
a .rhosts file in the root directory for a non-root account, does it? :-)
(I assume Paul meant, "home directory", not "root directory".)
0
Reply Frank 3/24/2006 12:51:56 PM

5 Replies
438 Views

(page loaded in 0.1 seconds)

Similiar Articles:













7/21/2012 4:31:38 AM


Reply: