From: Hendrik G. Seliger (hank@Blimp)
Date: 02/13/93


From: hank@Blimp (Hendrik G. Seliger)
Subject: Re: loopback: telnet not allowing root to login
Date: Sat, 13 Feb 1993 09:50:27 GMT

jblaine@garnet.acns.fsu.edu (CJB) writes:
:
: telnetting to my own machine via loopback connects fine and I get
: a login prompt. If I login as jblaine (a user I setup without
: root perms and such...a regular user) I can get right in.
: If I try to login as root though, after I enter the password, I get:
:
: login: root
: Password:
: Feb 5 19:48:33 login[341]: ILLEGAL ROOT LOGIN ON TTY 'ttyp2'

Are you using the login-stuff from SLS? Then you will have a file
/etc/login.defs. In that file there is a line like

        CONSOLE console:tty0:tty1:tty2:tty3:tty4:ttyS2

which defines those ttys where root-logins are o.k. Just add your
favorite line there (remembering that this might be a security
problem; usually no external lines should allow root login, as
are telnet-connections or serial lines (my serial is a kill-terminal
right next to the console)).

Hank.

          -------------------------------------------------
          Hendrik G. Seliger - Universitaet Essen - Germany
                  hank@Blimp.automat.uni-essen.de
          -------------------------------------------------