Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!rex!ukma!aunro!edm!geoff From: geoff@edm.uucp (Geoff Coleman) Newsgroups: comp.unix.aix Subject: Re: Where does getty get its information? Message-ID: <1991Apr08.154742.19459@edm.uucp> Date: 8 Apr 91 15:47:42 GMT References: <6@kb2ear.ampr.org> <6411@awdprime.UUCP> Organization: Unexsys Systems Inc Lines: 24 In article <6411@awdprime.UUCP> jfh@greenber.austin.ibm.com (John F Haugh II) writes: >In article <6@kb2ear.ampr.org> elr@kb2ear.ampr.org (Ed Ravin) writes: >>I chmod the tty device to 666 then Kermit works fine, but after a user >>signs on and off again, (and getty is restarted), the protection goes >>back to -w- (write only) for outsiders. > >You need to run Kermit set-[UG]ID so it can take control of the port you >are trying to access. This is how most of the other commands which >work with ttys operate. Also, you need to modify Kermit so it uses the >tty-locking routines which the system comes with. These are used by >getty (tsm) and UUCP - if you don't do this you will find Kermit getting >in the way of other applications. There is an APAR in for this problem and I believe a fix is also now available which will allow permissions for ports to stay at 0666. For the last time SUID is not a fix!!!!!!!!!!!!!!!! Geoff Coleman Unexsys Systems >-- >John F. Haugh II | I've Been Moved | MaBellNet: (512) 838-4340 >SneakerNet: 809/1D064 | AGAIN ! | VNET: LCCB386 at AUSVMQ >BangNet: ..!cs.utexas.edu!ibmchs!auschs!snowball.austin.ibm.com!jfh (e-i-e-i-o)