help sought - securing a terminal/line

Peter Murray pemurray at miavx1.acs.muohio.edu
Tue Aug 7 08:26:43 AEST 1990


In article <2065.26bc4831 at miavx1.acs.muohio.edu>, pemurray at miavx1.acs.muohio.edu (Peter Murray) writes:
> In article <13089.26b57b8d at qut.edu.au>, cszrhodes at qut.edu.au writes:
>> I need to secure a terminal (under HP_UX) in such a way that, when a person
>> comes up and turns that terminal (and only that terminal) on, some application
>> program is automatically invoked (e.g. oracle). That is, I need to develop 
>> some 'automatic terminal recognition' software that detects a particular 
>> terminal line being activated, and then dedicates that terminal/line to a 
>> user application. 
> 
> We are looking at the same problem.  One solution suggested was to put
> the name of the program in the "/etc/ttys" file for that particular 
> terminal line.  For instance...
> 
>   tty01   "/usr/local/lib"    vt100   on modem      # Start LIB software

This solution won't work.  I think you need to have a front end "getty"
to wait until a connection is made, and then exec the appropriate
program.  I'm trying to modify "getty" now to do this, but if anyone
else has a solution, please speak up!  Thanks.

Peter
-- 
Peter Murray            Neat UNIX Stunts #1:             pemurray at miavx1.bitnet
215 Foxfire Dr #308        csh> make love         murrayp at apsvax.aps.muohio.edu
Oxford, OH 45056                       NeXT Mail:  pmurray at next4.acs.muohio.edu



More information about the Comp.unix.questions mailing list