Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!miavx1!pemurray From: pemurray@miavx1.acs.muohio.edu (Peter Murray) Newsgroups: comp.unix.questions Subject: Re: help sought - securing a terminal/line Message-ID: <2080.26bda857@miavx1.acs.muohio.edu> Date: 6 Aug 90 22:26:43 GMT References: <13089.26b57b8d@qut.edu.au> <2065.26bc4831@miavx1.acs.muohio.edu> Lines: 25 In article <2065.26bc4831@miavx1.acs.muohio.edu>, pemurray@miavx1.acs.muohio.edu (Peter Murray) writes: > In article <13089.26b57b8d@qut.edu.au>, cszrhodes@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@miavx1.bitnet 215 Foxfire Dr #308 csh> make love murrayp@apsvax.aps.muohio.edu Oxford, OH 45056 NeXT Mail: pmurray@next4.acs.muohio.edu