Problem
When I try to telnet to my OpenServer 5.0.6 system, I get the following message and I don't get the chance to enter my login and password:
Trying [IP address]... Connected to voyager.sco.COM. Escape character is '^]'. Connection closed by foreign host.
When I try to rlogin to the machine, I see the following:
voyager.sco.COM closed connectionHowever, I can log into the OpenServer 5.0.6 system directly on the
console. Also, I can telnet and rlogin out of the machine to other
systems.Looking in the syslog file, I see an error message similar to:
Nov 16 13:17:04 voyager inetd[1344]: smp_check_user: user root not found, Not on system console: No such file or directory
Cause
There is a known problem in login(M) which does not correctly handle the line:
CONSOLE=/dev/tty01in /etc/default/login. This line is supposed to restrict only
root's network logins but it affects all users. Solution
Possible workarounds are:1. Remove the CONSOLE=/dev/tty01 line or2. Add a REMOTE_ROOT_OK=1 line.