Operating System - Linux
1829704 Members
2480 Online
109992 Solutions
New Discussion

rlogin from hp-ux to linux (mandrake)

 
SOLVED
Go to solution
Daniel Ubeda
Frequent Advisor

rlogin from hp-ux to linux (mandrake)

Hi,

I want to login or run rsh from hpux 9000 server to a linux machine.
I configure ./rhosts and /etc/hosts files, but I have not permission ...
rlogin narda
rcmd: connect: narda: Connection refused
If I try from linux to hpux, I can login.!!

Help
Daniel
7 REPLIES 7
U.SivaKumar_2
Honored Contributor
Solution

Re: rlogin from hp-ux to linux (mandrake)

Hi,

Is the rlogin service enabled in linux ?
#ntsysv
#service xinetd restart

regards,
U.SivaKumar
Innovations are made when conventions are broken
Daniel Ubeda
Frequent Advisor

Re: rlogin from hp-ux to linux (mandrake)

You are a GENIUS !!!

THANKS !!!

Obviusly I am a hpux administrator, but not a linux expert !!!

thanks again
Daniel
Robert Thorneycroft
Valued Contributor

Re: rlogin from hp-ux to linux (mandrake)

You might want to consider using SSH instead.

I have exactly the same setup and SSH setup is both easy and secure. Once it is setup you just substitute rsh or remsh for ssh and everything works perfectly.

Regards,

Robert Thorneycroft
Daniel Ubeda
Frequent Advisor

Re: rlogin from hp-ux to linux (mandrake)

I have two machines with linux, same version.
In both I can do rlogin, but in one ask me for password.
In both the ./rhosts are identical.
Are there any other config file ???
In this machine, I can't run ntsysv ..
-bash: ntsysv: command not found

I edit the files in /etc/xinetd.d and restart the service.

thanks
Daniel
Kodjo Agbenu
Honored Contributor

Re: rlogin from hp-ux to linux (mandrake)

Hello Daniel,

Make sure that the name lookup service is properly configured on both machines. If you are not using DNS, check /etc/hosts and /etc/nsswitch.conf on both machines.

(I learned this in a Hp-ux course few years ago :-)

Good luck.

Kodjo
Learn and explain...
Daniel Ubeda
Frequent Advisor

Re: rlogin from hp-ux to linux (mandrake)

I compare both files, and are identical.
But from one machine I can't do a rlogin because askme for a password.....
Any other idea ??
Daniel
Steven E. Protter
Exalted Contributor

Re: rlogin from hp-ux to linux (mandrake)

Now that you fixed it turn off rlogin and start using ssh

Its a serious security problem and totally unecessary to use rlogin.

Do you really trust your firewall administrator enough to not do as I suggest?

Do you trust each and every user of your network?

Good luck.
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com