Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

root login refused on this terminal.

0 views
Skip to first unread message

Matthew Hixson

unread,
Dec 6, 1996, 3:00:00 AM12/6/96
to

Hello,
I am running Linux Slackware 3.0.0 kernel version 2.0.25. Whenever
I (root) am the only one logged in I can open multiple telnet sessions
to the Linux box from my other PC, logging in as root. If anyone else
logs in, I can not log in again as root. I get this error message as
soon as I type root at the login, without being presented the password
prompt:

root login refused on this terminal.

Logging in with any account that has root privileges produces the same
message, with root being replaced by the login name. So it is not
allowing users with a UID of 0 to login.
It does the same thing from the Linux prompt on my already logged in
root session as well. Its like its not trusting root to login as
root, but only after someone else has logged in. (??)
Any solutions to this problem would be greatly appreciated because
this is terribly annoying.
Please CC a copy of your reply to me via email.
Thanks in advance.
-M@
--------------------------------
I'm a Java programmer/web developer looking for work.
http://www.eecs.wsu.edu/~mhixson
Visit my Linux server to view my resume and download software
I've written.


Jonathan Luckey

unread,
Dec 6, 1996, 3:00:00 AM12/6/96
to

hix...@mail.wsu.edu (Matthew Hixson) writes:

>Hello,
> I am running Linux Slackware 3.0.0 kernel version 2.0.25. Whenever
>I (root) am the only one logged in I can open multiple telnet sessions
>to the Linux box from my other PC, logging in as root. If anyone else
>logs in, I can not log in again as root. I get this error message as
>soon as I type root at the login, without being presented the password
>prompt:

>root login refused on this terminal.

[SNIP]

Look in the file /etc/securetty. It contains a list of ports where
you are allowed to login as root. You need to have the 'tty' side
of the pseudotty's in that list to telnet in as root. I'm not sure
but I think my distribution orginally came with only the first 4
specified in the file.

currently my /etc/securetty file looks like this:

tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
ttyp0
ttyp1
ttyp2
ttyp3
ttyp4
ttyp5
ttyp6
ttyp7


which means that if I had more than 8 pseudottys in use, I would have
problems logging in as root on another one. remember several things
use up pty's, including xterm windows under X, telnet and rlogin sessions.

man 5 securetty

for more info.

Daniel Mentz

unread,
Dec 7, 1996, 3:00:00 AM12/7/96
to hix...@mail.wsu.edu

Matthew Hixson wrote:
>
> Hello,
> I am running Linux Slackware 3.0.0 kernel version 2.0.25. Whenever
> I (root) am the only one logged in I can open multiple telnet sessions
> to the Linux box from my other PC, logging in as root. If anyone else
> logs in, I can not log in again as root. I get this error message as
> soon as I type root at the login, without being presented the password
> prompt:
>
> root login refused on this terminal.
Try Adding

ttyp0
ttyp1
ttyp2
ttyp3
ttyp4
ttyp5
ttyp6

to the file /etc/securetty.

Daniel

Shigeru IKEDA

unread,
Dec 7, 1996, 3:00:00 AM12/7/96
to hix...@mail.wsu.edu

-----BEGIN PGP SIGNED MESSAGE-----

In article <E1zGH...@serval.net.wsu.edu> hix...@mail.wsu.edu (Matthew Hixson) writes:

>root login refused on this terminal.

man securetty.


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMqkHbUPp6IK9NdONAQF1VgQAhDkzSj/O4VsjpnGtMztMW/g4CJyAWwhi
GQ0bj9vHFxTDLmB0ZsUWVUVIAi81Rg8IpJaetLss01DzPngSfra2DgNrQWqWjW31
12pZiAUQ4yMItIV0r70q7FzSG66TcwNd7r3M0xkDL62Q15CMIR5mJOEYcBYVumn0
ZxNp8KaNw7U=
=OzbI
-----END PGP SIGNATURE-----

B.A.Mc...@bham.ac.uk

unread,
Dec 9, 1996, 3:00:00 AM12/9/96
to

In article <5890fk$f...@seminole.gate.net> luc...@gate.net (Jonathan Luckey) writes:
>> I am running Linux Slackware 3.0.0 kernel version 2.0.25. Whenever
>>I (root) am the only one logged in I can open multiple telnet sessions
>>to the Linux box from my other PC, logging in as root. If anyone else
>>logs in, I can not log in again as root. I get this error message as
>>soon as I type root at the login, without being presented the password
>>prompt:
>
>>root login refused on this terminal.
>[SNIP]
>
>Look in the file /etc/securetty. It contains a list of ports where
>you are allowed to login as root. You need to have the 'tty' side
>of the pseudotty's in that list to telnet in as root.

IMNSHO that is the "B" answer. The "A" answer is comment out the
reference to /etc/securetty in /etc/login.defs. YMMV if you don't use
the shadow suite.

--
\\ ( ) No Bullshit! | Email: B.A.Mc...@bham.ac.uk
. _\\__[oo from | Phones: +44 121 471 3789 (home)
.__/ \\ /\@ /~) /~[ /\/[ | +44 121 627 2173 (voice) 2175 (fax)
. l___\\ /~~) /~~[ / [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
# ll l\\ ~~~~ ~ ~ ~ ~ | http://wcl-l.bham.ac.uk/~bam/
###LL LL\\ (Brian McCauley) | Finger: b...@wcl-rs.bham.ac.uk

Eaton Blumenstein

unread,
Dec 16, 1996, 3:00:00 AM12/16/96
to

you can also if you want to . login as a normal user aNd type "su" and
that will ask you for a PW and you would type in the ROOTs Password.

Pretty simple.


Eaton
Linux 2.0.x (i686) (amd486)

Matthew Hixson (hix...@mail.wsu.edu) wrote: : Hello,
: I am running Linux Slackware 3.0.0 kernel version 2.0.25. Whenever


: I (root) am the only one logged in I can open multiple telnet sessions
: to the Linux box from my other PC, logging in as root. If anyone else
: logs in, I can not log in again as root. I get this error message as
: soon as I type root at the login, without being presented the password
: prompt:

: root login refused on this terminal.

: Logging in with any account that has root privileges produces the same

0 new messages