Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!purdue!bu-cs!encore!bzs@xenna From: bzs@xenna (Barry Shein) Newsgroups: comp.unix.wizards Subject: Re: Selectively disable login at specified line? Keywords: login getty tty ultrix csh Message-ID: <3818@encore.UUCP> Date: 6 Oct 88 03:02:05 GMT References: <1227@tuhold> Sender: news@encore.UUCP Reply-To: bzs@xenna (Barry Shein) Organization: Encore Computer Corp Lines: 24 In-reply-to: gfl@tuhold (Gerhard Fleischanderl) From: gfl@tuhold (Gerhard Fleischanderl) >Is it possible to notify getty(8) or login(1) of a list of users >who are granted login at the specified line? Can't say I've thought it through but you might consider writing your own /bin/login which checks access and then execs the vendor supplied login (or exits.) Just move the current login somewhere else for execing and consider the case where people run /bin/login during interactive sessions. And do be careful as a broken login can cramp a system (tho you should be able to fix it in single user mode as login isn't needed then.) It's not ideal, but it might put it all under your control. I really wish AT&T would free up a few programs like login and getty as sources distributed with binary licenses. Some people really do need to add their own logic to these things for various reasons. Maybe someday there'll be a workable GNU version of these programs. But lo, I wander... -Barry Shein, ||Encore||