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/08 Message-ID: <3A099636.9AD1E713@nospam.guacamole.com>#1/1 X-Deja-AN: 691290059 Content-Transfer-Encoding: 7bit References: <3A0719C8.C91E385@nospam.guacamole.com> <3A08326C.F52AB6CF@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 973706806 1249113 16.129.14.83 (8 Nov 2000 18:06:46 GMT) Organization: Organization? Yes, please. Mime-Version: 1.0 NNTP-Posting-Date: 8 Nov 2000 18:06:46 GMT Newsgroups: comp.os.linux.alpha Summary: For redhat only, if you're using the pts file system, securetty doesn't use pts/num, it simply uses num. Tres interessant. Thank you so much. :-) Martin Sinot wrote: > Marble Head wrote in message > news:3A08326C.F52AB6CF@nospam.guacamole.com... > > 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. > > Hmm, didn't realize that you used the pts filesystem. After some > experimenting > I found that it IS possible to telnet as root. Do not add pts/0...pts/9, but > only > the numbers, so your /etc/securetty looks something like: > > tty1 > tty2 > ... > tty8 # original > 0 # your additions > 1 > 2 > ... > 9 > > So your terminal is actually a simple number, without the path. > You can use the pts pseudoterminal filesystem on other distributions as well > (you will of course have to make the same additions to /etc/securetty), but > only Redhat appears to install it automatically. > > Good luck, > > -- > Martin Sinot > martin@nospam.spase.nl