🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #60133

[Q] Serial line / getty woes - help needed!

#60133
From: Cameron
Date: Thu, 05 Aug 1993 00:16
43 lines
2079 bytes
I've managed to get my multiport serial card working - thanks to those
people who replied.

Now I have a problem with getty (at least I think it's getty).

I have the latest version of getty (getty_ps 2.0.7b) and have read all the
README's that came with it, but to no avail - I don't understand why the
following happens:


Currently I have two terminals connected to the multiport card - ttyS16 and
ttyS17.  My inittab is as follows:

c1 ......
....
....
S1:respawn:/bin/getty ttyS16 DT9600 vt100
S2:respawn:/bin/getty ttyS17 DT9600 vt100


My gettydefs file is taken straight from the examples provided with getty_ps.


I log in on ttyS17 and then try to login on ttyS16.  ttyS16 flashes up a
message saying something about no entry in utmp file and something about
not being able to login from a non-login shell.  If I try logging in on 16
again it allows me to log in ok.

Ok - I do a who and I get ttyS16 and ttyS17 listed.  If I now log out on 17
and do a who I get nothing listed!

I have also noticed when doing a ps that the login shell for 17 is owned
by root while the login shell for 16 is owned by cam (the user I logged
in as).

I'm getting really confused!  I get the feeling that getty is getting
confused somehow and is running a getty over the top of another one.

Any ideas on what is going on?

Any help appreciated,
  cameron.
Technical Details
Message-ID: <cam.744509803@ss1>
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!sunic!uunet!europa.eng.gtefsd.com!darwin.sura.net!sgiblab!munnari.oz.au!uniwa!hawk!ss1!cam

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9382,45fa5b13c61d6cb3,start
X-Google-Attributes: gidf9382,public
X-Google-Thread: 102983,45fa5b13c61d6cb3,start
X-Google-Attributes: gid102983,public
X-Google-ArrivalTime: 1993-08-04 19:53:45 PST
Newsgroups: aus.computers.linux,comp.os.linux
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!sunic!uunet!europa.eng.gtefsd.com!darwin.sura.net!sgiblab!munnari.oz.au!uniwa!hawk!ss1!cam
From: cam@adied.oz.au (Cameron)
Subject: [Q] Serial line / getty woes - help needed!
Message-ID: <cam.744509803@ss1>
Keywords: getty serial multiport linux
Organization: Australian Defence Industries
Date: Thu, 5 Aug 1993 00:16:43 GMT
Lines: 44