Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site packet.UUCP Path: utzoo!linus!philabs!seismo!hao!hplabs!hpda!fortune!amd70!packet!cfv From: cfv@packet.UUCP Newsgroups: net.bugs.4bsd Subject: bad bug in login Message-ID: <262@packet.UUCP> Date: Sat, 25-Jun-83 23:52:07 EDT Article-I.D.: packet.262 Posted: Sat Jun 25 23:52:07 1983 Date-Received: Mon, 27-Jun-83 05:26:04 EDT Organization: PacketCable,Inc. Cupertino, CA. Lines: 26 We ran into a real bad problem with the login program today. We upgraded our system with 16 new ports. When we went to log onto them, we would be able to give the account and password. We would get the 'Last login...' message and the port would then return to the login prompt. Two hours of head scratching later, we noticed that we had a core file in '/' with a very recent date. Checking into it, we found that we had accidently added a blank line to /etc/ttytype between ttyjf and ttyk0. It turns out that when ttytype is not properly set up (this includes blank lines) or when a port that you log onto is not in ttytype then login barfs and core dumps. Since this file is such a trivial part of the login process I doubt that I would have found it if I wasn't lucky, and I am passing the word to others who might have the same problem. I hope that in some future release the people who write these programs take some time to verify that the data they are reading is properly set up and let us know if it isn't. Core dumps are not my idea of reasonable diagnostics (especially with a program as critical as login...) and on a site without a source license it isn't always possible to track these things down through the code. (BTW, this is not a documented problem.... Of course). Sign me, Disgusted as always with Unix Quality Control -- >From the dungeons of the Warlock: Chuck Von Rospach ucbvax!amd70!packet!cfv (chuqui@mit-mc) <- obsolete!