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: "Martin Sinot" Subject: Re: telnet login problem Date: 2000/11/08 Message-ID: #1/1 X-Deja-AN: 691148024 References: <3A0719C8.C91E385@nospam.guacamole.com> <3A08326C.F52AB6CF@nospam.guacamole.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@chello.nl X-Trace: Flipper 973679912 212.187.69.101 (Wed, 08 Nov 2000 11:38:32 MET) Organization: Chello Broadband X-MSMail-Priority: Normal NNTP-Posting-Date: Wed, 08 Nov 2000 11:38:32 MET Newsgroups: comp.os.linux.alpha 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