LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   rlogin to localhost (https://www.linuxquestions.org/questions/linux-networking-3/rlogin-to-localhost-53028/)

dkalli 04-02-2003 07:56 AM

rlogin to localhost
 
I get a deny answer when I try rlogin or rsh to localhost.
I need this for MPI (sort of parallel processing emulation).
Any idea why this happens?
I would greatly appreciate any answer!

jimrt 04-05-2003 09:22 PM

I am by no means an expert on rlogin, but a few things to check:


verify that these entries are in /etc/hosts.allow

ALL:127.0.0.1
ALL:localhost
ALL:localhost.localdomain

Also make sure that you have a line with your IP address, example: ALL:192.168.100.2

If you are using xinetd look at xinetd.conf and if you are using an only_from line make sure that it has 127.0.0.1 and your subnet.

If you are trying to rlogin in to your machine as root it will fail unless you specifically allow root rlogins (generally this is not a good idea). Look at the pam file for rlogin to "fix" this.

Check your hosts.equiv and see if 127.0.0.1 is listed there.

Lastly, make sure that you are in fact running the rlogin service.


~Jim

dkalli 04-07-2003 10:11 AM

Yes, I have done all that (I should have mentioned in my first post
my setup), but it still doesn't work... I suspect that it has sth to do with the install options... I will try to install linux again and report if anything happens...
Thanks for your reply anyway!


All times are GMT -5. The time now is 11:30 AM.