Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!iuvax!purdue!haven!adm!xadmx!rbj@dsys.ncsl.nist.gov From: rbj@dsys.ncsl.nist.gov (Root Boy Jim) Newsgroups: comp.unix.questions Subject: reserve tty to specific login Message-ID: <20507@adm.BRL.MIL> Date: 4 Aug 89 20:38:12 GMT Sender: news@adm.BRL.MIL Lines: 26 ? From: Tom Gorodecki ? Hello . ? How can i reserve a tty so only a specific user can login to this ? tty? ? My machine is Sequent running DYNIX 3.0.14 ? ? I thought about a private version of getty . Is there a ? other way? Remember that your shell can be any program. Write one that checks whether the user is authorized. If not, print a nastygram and exit. If so, exec the proper shell. Actually, from the system's point of view, the other user really did login, but only for a very short while. ? Thanks ? tom. ? Gorodecki Tom. National Semiconductor (IC) ? 6 Maskit st. P.O.B. 3007, Herzlia B, 46 104, Israel ? UUCP: {hplabs,pyramid,sun,decwrl}!nsc!taux01!tom ? domain: tom%taux01@nsc.com Root Boy Jim Have GNU, Will Travel.