Subject: Re: root login refused on tty ttySf
To: Chuck McManis <cmcmanis@mcmanis.com>
From: Rick Copeland <rickgc@calweb.com>
List: port-vax
Date: 01/19/2000 05:34:43
At 08:17 PM 1/25/00 -0800, Chuck McManis wrote:
>There is a ttySf, it is port 16 on the CXA16. In the /etc/ttys it appears 
>in the middle. Add 'secure' to it and it will let you login as root. Or 
>login to the console.
>
>--Chuck
>
>
>At 03:33 AM 1/19/00 -0800, Rick Copeland wrote:
>>I have loaded an older version of NetBSD (1.3, yes I know it is old) on one
>>of my uVAX 3600's and it boots up fine and produces a login prompt.  When I
>>login in as "root" and hit enter for the first time I get the following:
>>
>>login: root
>>root login refused on this terminal
>>login: LOGIN root REFUSED ON TTY ttySf
>>
>>What is "ttySf"? I have gone in as single user and checked out /etc/ttys,
>>but there does not appear to be a "ttySf" that I can find.
>>
>>Also, I have a laptop connnected to the 3600 as a console, I use it with my
>>other 3600's and it works just fine (using the same version of NetBSD).
>>Can anyone tell me what the problem might be and how to fix it?
>>
>>TIA,
>>
>>RiCo
>

I have looked at the /etc/ttys file and the is no "ttySf".  I have included
a print out of the /etc/ttys file:

# cd /etc
# cat ttys
#       $NetBSD: ttys,v 1.1 1995/08/25 21:25:14 ragge Exp $
#
#       @(#)ttys        5.2 (Berkeley) 6/10/93
#
# name  getty                           type    status          comments
#
# If the console is marked insecure, single-user requires
# the root password.
console "/usr/libexec/getty std.9600"   unknown on secure

# Hardwired lines are marked off, by default, so getty(8)
# is quiet when they don't exist.
tty01   "/usr/libexec/getty std.9600"   unknown off secure
tty00   "/usr/libexec/getty std.9600"   unknown off secure
tty02   "/usr/libexec/getty std.9600"   unknown off secure
tty03   "/usr/libexec/getty std.9600"   unknown off secure
tty04   "/usr/libexec/getty std.9600"   unknown off secure
tty05   "/usr/libexec/getty std.9600"   unknown off secure
tty06   "/usr/libexec/getty std.9600"   unknown off secure
tty07   "/usr/libexec/getty std.9600"   unknown off secure

ttyp0   none                    network   secure
ttyp1   none                    network
ttyp2   none                    network
ttyp3   none                    network
ttyp4   none                    network
ttyp5   none                    network
ttyp6   none                    network
ttyp7   none                    network
ttyp8   none                    network
ttyp9   none                    network
ttypa   none                    network
ttypb   none                    network
ttypc   none                    network
ttypd   none                    network
ttype   none                    network
ttypf   none                    network      secure
ttyq0   none                    network
ttyq1   none                    network
ttyq2   none                    network
ttyq3   none                    network
ttyq4   none                    network
ttyq5   none                    network
ttyq6   none                    network
ttyq7   none                    network
ttyq8   none                    network
ttyq9   none                    network
ttyqa   none                    network
ttyqb   none                    network
ttyqc   none                    network
ttyqd   none                    network
ttyqe   none                    network
ttyqf   none                    network     secure
#

Notice that I have added "secure" to ttyqf and ttypf and it had no effect!

RiCo