Date: Sun, 27 Sep 1998 14:07:07 -0400 (EDT) From: Chuck Robey <chuckr@mat.net> To: FreeBSD-hackers@FreeBSD.ORG Subject: getty problems Message-ID: <Pine.BSI.3.95.980927140335.29714A-100000@earth.mat.net>
next in thread | raw e-mail | index | archive | help
This is about a strange problem I'm seeing, about getting a getty started on a machine. This machine was doing gettys just fine a couple of days ago, before there was an attack on the system (denial of service, but apparently some other stuff too?) This machine in the one I was getting my ppp through so I'm concerned. I was the only user getting ppp from it yet. Everything works ok except that the gettys don't show up anymore. There's a lot of possibilities for this, so please don't answer until you've seen all the stuff I *have already* checked, ok? Here they are: 1) Do I have /etc/ttys right? Here's the portion involved (I'm on ttyd1): # Serial terminals ttyd0 "/usr/libexec/getty std.9600" vt100 off secure ttyd1 "/usr/libexec/getty std.57600" vt100 on secure This hasn't been changed. The machine has gone thru a reboot, but I did a "kill -HUP 1" to make certain this /etc/ttys was the active one, and immediately checked ps, no gettys. 2) permissions in /dev: moon:/usr/home/chuckr:18 >ls -l /dev/ttyd* crw------- 1 root wheel 28, 0 Jul 9 13:00 /dev/ttyd0 crw------- 1 root wheel 28, 1 Sep 26 23:07 /dev/ttyd1 crw------- 1 root wheel 28, 2 Aug 27 1997 /dev/ttyd2 crw------- 1 root wheel 28, 3 Jul 30 1996 /dev/ttyd3 3) binaries, I used md5 to check the values for md5, init, getty, and login, all ok (ps too). I have another machine running the same version of current from last summer, so I could do this. Also checked the /kernel, it's good too. 4) syslog.conf wasn't routing getty error messages to /var/log/messages, it was routing them to the console, which hasn't had a video attached for months. Fixed it, tested it, rehupped init to restart any dead gettys, still nothing from ps on any gettys, and nothing in /var/log on gettys either. 5) Just in case it was the port, used kermit, port is fine, modem is fine also. Swapped modem & cable anyway (it was easy to do), no fix there. 6) filesystems all ok, all capacities ok. sysctl kern.securelevel is -1. 7) In spite of good md5, maybe BOTH gettys are bad? Ran one from root in an xterm, it _seemed_ to work just fine. When it was running, but before a password had entered, ps found it just fine, too. It called login (it looked like I'd called telnet, not getty!) I *think* that's all I tried. If you can come up with any other possibilities I can't think of, please write to me about it, ok? Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.980927140335.29714A-100000>