one graphics terminal/many users
Stuart Levy
slevy at poincare.geom.umn.edu
Sat Dec 15 06:18:48 AEST 1990
In article <18668 at hydra.gatech.EDU> gt3930c at prism.gatech.EDU (ZUCCOLA) writes:
>... Is there anyway to "lockout" other users so that if they accidentally try
> to start something "graphic" and they aren't the person using the machine
>their process won't start?
>
> Just thought I'd ask,
> H-----
We have a half-baked way of dealing with this... I hope there's a better one.
We modify our programs to test the $TERM variable. If it's not "iris-ansi",
the program is probably not being run locally, prints a warning message & quits.
There's a conventional command-line option and environment variable
(-c and "COLLABORATE", both mentioned by the warning message) which defeat the
test -- it's not foolproof, just enough to prevent accidental interference.
Naturally you must either have source to the program or be able to embed it
in a shell script wrapper. Definitely not ideal.
Stuart Levy, Geometry Group, University of Minnesota
slevy at geom.umn.edu
More information about the Comp.sys.sgi
mailing list