Technical article 105007

How can I telnet into a SCO Unix system as the root user?

OpenServer 6.0.0OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6OpenServer 5.0.7UnixWare 7.0.0UnixWare 7.0.1UnixWare 7.1.0UnixWare 7.1.1UnixWare 7.1.2UnixWare 7.1.3UnixWare 7.1.4Open UNIX 8

Written · Last revised

Problem

When trying to telnet into a UnixWare system as root, I get this message:

UX:in.login: ERROR: Not on system console telnetd: Unable to invoke login scheme. Connection closed by foreign host.

Cause

Denying root access to remote users to the system console
represents an important security feature of the UnixWare
system.  Caution is advised in allowing root access on a wide
basis.

Solution

While logged in as root, edit the /etc/default/login file. You should see:

# cat /etc/default/login
#ident  "@(#)/etc/default/login.sl 1.1 UW2.01 02/07/95 32269 NOVELL"
#ident "$Header: /sms/sinixV5.4es/rcs/s19-full/usr/src/cmd/login/login.dfl,v 1.1
 91/02/28 17:45:11 ccs Exp $"
TIMEZONE=EST5EDT
HZ=100
ULIMIT=4096
CONSOLE=/dev/console
PASSREQ=YES
ALTSHELL=YES
MANDPASS=NO
UMASK=077
Change the line:
CONSOLE=/dev/console
to read:
#CONSOLE=/dev/console

You should now be able to telnet into the machine as root.

For OpenServer systems the line will read:

CONSOLE=/dev/tty01

From the Xinuos technical article database, record 105007. Reproduced with permission. The original is at www.sco.com/ta/105007, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.