From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b32df11d64ff1b77 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-02-02 09:26:23 PST Newsgroups: comp.unix.osf.osf1 Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!pipex!uknet!comlab.ox.ac.uk!sable.ox.ac.uk!mbeattie From: mbeattie@sable.ox.ac.uk (Malcolm Beattie) Subject: Re: Terminal lookup by login Message-ID: <1995Feb2.172623.5087@inca.comlab.ox.ac.uk> Organization: Oxford University, England References: <3gm9im$ok0@amhux3.amherst.edu> <36608667wnr@brttsg.demon.co.uk> Date: Thu, 2 Feb 95 17:26:23 GMT In article <36608667wnr@brttsg.demon.co.uk>, Chris Stone wrote: >In article: <3gm9im$ok0@amhux3.amherst.edu> pdchapin@unix.amherst.edu (PAUL D. CHAPIN) writes: >> >> When I try to login to the system using a LAT connection, I get the >> following: >> >> >> DEC OSF/1 Version V3.0 (amhux4.amherst.edu) 638 >> >> login: pdchapin >> Cannot obtain database information on this terminal >> >> This would appear to be a simple matter of updating a database to make >> sure that it includes a reference for whatever is being reported to >> it. Unfortunately, the info on what login is actually doing is a >> little sparse. Anybody have an suggestions? >> >> BTW, when I connect without using LAT, I don't have any problem. >> > >Try adding:- > >*:t_devname=*:chkent: > >in /etc/auth/system/ttys > >This should work for V2.0, can't speak for V3.0 It won't help if he's using the STREAMS lat devices /dev/lat/nnn (as recommended by DEC) rather than the BSD ones /dev/ttynn. That's because the "*" wildcard in /etc/auth/system/ttys only applies to device files in /dev itself, not in subdirectories. Similarly, with the SysV pseudoterminals /dev/pts/nnn, you need separate entries for all of those. Oh, and separate entries for all X terminals that want to connect via xdm too. Since we have 200 LAT terminal devices, 738 ptys, a couple of hundred X terminals (but potentially thousands), it makes for rather large ttys and devassign files. This was reported to DEC in the middle of last July while we field-tested 3.0 but they downgraded the problem. For the SysV LAT devices, add lines like lat123:t_devname=lat123:chkent: *and* add a corresponding line lat123:v_devs=/dev/lat/123:v_type=terminal:chkent: to /etc/auth/system/devassign. Repeat for every LAT device you run a getty on and every /dev/pts people might use in a telnet/rlogin session. --Malcolm -- Malcolm Beattie Oxford University Computing Services "Widget. It's got a widget. A lovely widget. A widget it has got." --Jack Dee