[comp.sys.sun] Console wierdness under 3.5

ed%zaphod@gargoyle.uchicago.edu (Ed Friedman) (01/11/89)

In trying to upgrade our operating from Sun OS 3.4 to 3.5, I have
encountered the following strange problem.  On most of our clients,
logging in via the console is impossible because whatever user name
(including root) you give, after hitting the carriage return no password
is asked for, but instead a new login prompt is generated.  When logging
on remotely, no problems are seen at all and normal password procedures
are followed.  A further clue is after four or five attempts to login at
the console, a message appears saying something like: init /dev/console
getty sleeping

Anyone have a clue as to what is going on here?

Ed Friedman

ed@zaphod.uchicago.edu
friedman@uchicago.bitnet

chris@gargoyle.uchicago.edu (Chris Johnston) (01/14/89)

In article <8812282227.AA02666@zaphod.uchicago.edu> you write:
>...On most of our clients,
>logging in via the console is impossible because whatever user name
>(including root) you give, after hitting the carriage return no password
>is asked for, but instead a new login prompt is generated....

A guess...  Passwords are read from /dev/tty.  Check to see if it is a
really a device.  Should look like this.

chris@gargoyle 1 ls -lg /dev/null /dev/tty
crwxrwxrwx  1 root     wheel      3,   2 Jan 10 22:15 /dev/null
crw-rw-rw-  1 root     wheel      2,   0 Jan 10 22:16 /dev/tty
chris@gargoyle 2 file /dev/null /dev/tty
/dev/null:	character special (3/2)
/dev/tty:	character special (2/0)

cj

sgf@lfm.brown.edu (01/16/89)

>...whatever user name (including root) you give, after hitting the carriage 
>return no password is asked for, but instead a new login prompt is generated.

This sort of behavior usually occurs when there's some process running
that's trying to read from the console.

sam