United States (change)
Shortcuts: Downloads Fedora Red Hat Network
Account Links: Cart Your Account Logout
rsh, rlogin and rexec use the 'login' port, number 513 (defined in the /etc/services file). The likely cause of the problem is that the host server is running a firewall that blocks the 'login' port.
Red Hat Enterprise Linux has a firewall configured by default to not allow incoming connections to the required port for login services. In Red Hat Enterprise Linux 3, the redhat-config-securitylevel program can be used to configure the default firewall. In Red Hat Enterprise Linux 4, the equivalent program is called system-config-securitylevel.
A quick way to enable the 'login' port in a terminal or at the console is to run this command as root:
redhat-config-securitylevel-tui -q -p login:tcp
Note: If you have already customized the firewall you will have to include all of the ports in the command again. For example, if you already have port 'ssh' enabled, it must also the specified in the command:
redhat-config-securitylevel-tui -q -p login:tcp -p ssh:tcp