From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,3f7b05133078d4e3 X-Google-Attributes: gid111c93,public From: Marble Head Subject: Re: telnet login problem Date: 2000/11/07 Message-ID: <3A08326C.F52AB6CF@nospam.guacamole.com>#1/1 X-Deja-AN: 690852063 Content-Transfer-Encoding: 7bit References: <3A0719C8.C91E385@nospam.guacamole.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@nose.shr.dec.com X-Trace: nose.shr.dec.com 973615725 1138837 16.129.14.83 (7 Nov 2000 16:48:45 GMT) Organization: Organization? Yes, please. Mime-Version: 1.0 NNTP-Posting-Date: 7 Nov 2000 16:48:45 GMT Newsgroups: comp.os.linux.alpha Yep, that's what I did. The correct terminal is pts/0 etc. And that's what I added to securetty. The same method works for Debian, and for SuSE. But it doesn't work for RH. I guess that RH must have made some special binaries or something that don't permit you to do this somehow. Oh well. guess I'll have to stick with the su command. I know it's not advisable, but this machine is on a secure (non-connected) local network. Martin Sinot wrote: > Marble Head wrote in message > news:3A0719C8.C91E385@nospam.guacamole.com... > > I have edited the /etc/securetty file on a RedHat 6.2 system, but I > > still have a "Login incorrect" message displayed, for only root. > > I added to the file, > > pts/0 > > pts/1 > > ... > > pts/9 > > and all root logins through telnet are failed. > > > > Any help? > > > > You must add the terminals for which you want to allow root access to > /etc/securetty. So you have the right file. Only these terminals are > probably not > called pts/0, pts/1, ... (at least when I try this, they look like ttyp0, > ttyp1, ...). > To find out what you need to add, login as a common user and type > "who am i" (without the quotes). This tells you what terminal you are > currently > logged on. Then you add this terminal and maybe similar looking terminals > to /etc/securetty. > > Note that it is not recommended to telnet directly to root, for security > reasons. > It is better to login to a common user and then su to root. > > -- > Martin Sinot > martin@nospam.spase.nl