Selectively disable login at specified line?
MFHorn
arosen at hawk.ulowell.edu
Mon Oct 3 12:00:00 AEST 1988
>From article <659 at mtxinu.UUCP>, by ed at 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 at 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
More information about the Comp.unix.wizards
mailing list