From: uchrist@winx06.informatik.uni-wuerzburg.de (Udo Christ) Subject: Re: ANSWER: root login problems via telnet solved Date: Wed, 10 Feb 1993 12:13:52 GMT
C. Jefferson Blaine (jblaine@garnet.acns.fsu.edu) wrote:
: First of all, Ozy gets all the credit =)
: Ok, for people wanting to login as root onto their linux machine via
: telnet, you may come across some problems unless you do the following:
: In the file /etc/login.defs, change
: CONFIG tty0:tty1:tty2:tty3:tty4
: to read
: CONFIG tty0:tty1:tty2:tty3:tty4:ttyp0:ttyp1:ttyp2:ttyp3
This is one possibility, but did you mention that then everyone knowing your
root passwd can login as root via telnet then .
Why don't you log in as joe_user and then do a su root to get root on that
port. Doing so one already has to know two passwords ( the joe_user and the
root one ) to get root via telnet.
Normally root logins should only be allowed on ttys where you have a visual
contact to the terminal ( maybe a null-modem connected to ttys? )
My 2cents
udo
: --
: -------
: C. Jefferson Blaine
: jblaine@garnet.acns.fsu.edu