Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!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: <2103.26bf3e39@miavx1.acs.muohio.edu> Date: 8 Aug 90 03:18:32 GMT References: <13089.26b57b8d@qut.edu.au> <2065.26bc4831@miavx1.acs.muohio.edu> <2080.26bda857@miavx1.acs.muohio.edu> <1990Aug7.111611.434@warwick.ac.uk> Lines: 30 In article <1990Aug7.111611.434@warwick.ac.uk>, cudcv@warwick.ac.uk (Rob McMahon) writes: > Assuming we're talking BSD here (that certainly looks like a 4.3 /etc/ttys > file to me ...), can't you just use the `lo' gettytab entry for this: > > lo str /usr/bin/login program to exec when name obtained Yes, I'm dealing with BSD (Ultrix, to be exact). Well, this will work, except that getty will still ask for the username, and pass that as an argument to the program defined as "lo" above. I would just like users to connect to the tty and automatically be dumped in the application without "logging in". Guy Harris made an excellent suggestion...modify the source code to do the things that getty does. Unfortunately, this is not an option. What I've done is ported getty from a SysV source that I have (believe it or not, it works with only one change), and I'm now in the process of taking out the lines (the part where it asks for the user ID and other unneeded functions) that are not needed. Hopefully it'll work when I'm done messing around. Does anyone have a pointer to the source code for a BSD version of getty? Peter -- Peter Murray 215 Foxfire Dr #308, Oxford, Ohio 45056 ACS Consultant pemurray@miavx1.bitnet APSVAX/APSTWR Manager murrayp@apsvax.aps.muohio.edu Miami University NeXT Mail: pemurray@next4.acs.muohio.edu