Operating System - HP-UX
1846836 Members
6533 Online
110256 Solutions
New Discussion

i have to rlogin from solaris box to hp box

 
Chandrasekar_6
Occasional Advisor

i have to rlogin from solaris box to hp box

Hai,

I want to rlogin from solaris box to Hp box can u say the step for this


thanks in advance

bye
7 REPLIES 7
Rick Garland
Honored Contributor

Re: i have to rlogin from solaris box to hp box

Shouldn't be any issues since the rlogin is enabled on SOLARIS and HPUX.

But do ensure that it enabled.

rlogin

Many people say this and I will restate, use Secure Shell instead of the r-commands
Chandrasekar_6
Occasional Advisor

Re: i have to rlogin from solaris box to hp box

Hi rick,


how to enable rlogin on both server and we have to do rhosts file
Raj D.
Honored Contributor

Re: i have to rlogin from solaris box to hp box

Hi Chandrasekar ,


1. put both the server entries in /etc/hosts.equiv [ for trusting .]

2. /.rhosts [ put entries of the server name ]

3.# rlogin hpserver -l hpusername

Hope this will work ,

Cheers,
Raj.

" If u think u can , If u think u cannot , - You are always Right . "
Raj D.
Honored Contributor

Re: i have to rlogin from solaris box to hp box

Chandrasekar ,

If you are using host name , that must be updated in hoststable ..i.e /etc/hosts of both server.

Cheers ,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Rick Garland
Honored Contributor

Re: i have to rlogin from solaris box to hp box

Start as if the rlogin is enabled.

rlogin -l $SYS_NAME

Can use the system name or the IP address.
The user_name wqould be a valid and enabled account on the remote system.

Do not need rhosts to start. Do not need the hosts.equiv to start

Just see if it will work. It most likely will. After you verified it works you can place rhosts, hosts.rquiv, /etc/hosts, entries to suit your needs.

At the very basic, rlogin does not need any additional configuration to work.
Chandrasekar_6
Occasional Advisor

Re: i have to rlogin from solaris box to hp box

thanks without password if i rlogin i have login in server
Rick Garland
Honored Contributor

Re: i have to rlogin from solaris box to hp box

If I understand you last post correctly. You want to rlogin without passwds?

This is where the .rhosts file comes in.

On the HPUX system;
cat $HOME/.rhosts
solaris

On the SOLARIS system;
cat $HOME/.rhosts
hpux

The HPUX system is trusting the user on the SOLARIS system to rlogin without passwd. Vice versa for the SOLARIS system.