1829407 Members
1581 Online
109991 Solutions
New Discussion

Re: Can't run rlogin

 
SOLVED
Go to solution
juno2
Super Advisor

Can't run rlogin

My RH8 can't allow other host to rlogin to local host sfter the system had reboot , I sure it is correct setting in the file /etc/securetty and /root/.rhosts , what service need to start for rlogin ? can suggest what is wrong in my system ? thx
4 REPLIES 4
jbjbjb
Advisor

Re: Can't run rlogin

As root type
chkconfig --list | grep rlogin
if it returns off type
chkconfig rlogin on

if that doesn't work check your iptables rules, it could be your firewall settings, try turning off your firewall, type
service iptables stop
if that fixes your problem you need to open port 513 in your firewall rules. type setup,
choose firewall, and reconfig your settings including 513 as an open port.

John
Manuel Wolfshant
Trusted Contributor

Re: Can't run rlogin

step 1: make sure you have installed the server side of rlogin. The result of the command:
#rpm -q rsh-server
should give something similar to
rsh-server-0.17-10

If it does not, please install the package that you can find on the second installation.disk

step 2: activate the service:
chkconfig --level 35 rlogin on (to start it automatically after reboot
service rlogin start (to start it now)


step 3: verify
rlogin localhost -l
Steven E. Protter
Exalted Contributor
Solution

Re: Can't run rlogin

I would like to add the additional suggest that you check the logs on the target system. If there is a rejection based on security or the protocol not running, it should be evident there.

The prior posts are exactly what I would do first.

Networking on both boxes is compatible?

Can they ping each other?

ifconfig output?

Just fishing, like I was supposedly doing in Wyoming.

Good luck,

Back off the net in a few hours.

SEP
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
Sunil Sharma_1
Honored Contributor

Re: Can't run rlogin

Hi,
By default rlogin is disable in RH8 did you modified /etc/xinet.d/rlogin file for enabling rlogin ?

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***