Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!apollo!ulowell!arosen@hawk.ulowell.edu From: arosen@hawk.ulowell.edu (MFHorn) Newsgroups: comp.unix.wizards Subject: Re: Selectively disable login at specified line? Message-ID: <9427@swan.ulowell.edu> Date: 3 Oct 88 02:00:00 GMT References: <659@mtxinu.UUCP> Sender: news@swan.ulowell.edu Lines: 23 From article <659@mtxinu.UUCP>, by ed@mtxinu.UUCP (Ed Gould): >>We want to restrict login-access at a specified terminal line >>to a group of designated users, with the other ttys still >>accessible to all users. >>Our machine is a VAX 11/750 running Ultrix 1.0. > > The /etc/ttys file specifies the program to be run to capture the > login name: typically /etc/getty. You can use any program of your > own design instead, however. A simpler solution would be to add a group, foo, containing the users who will be using this line, and 'chmod 660 /dev/tty?? ; chgrp foo /dev/tty??'. It's very possible that Ultrix will do funny things to the permission on the tty after the user logs out, in which case you could run a two line program of your own on that line that does a chmod/chgrp and then exec's getty. We're not running 1.0 here, so I can't check. Andy Rosen | arosen@hawk.ulowell.edu | "I got this guitar and I ULowell, Box #3031 | ulowell!arosen | learned how to make it Lowell, Ma 01854 | | talk" -Thunder Road RD in '88 - The way it should be