|
From: | Archai Valkryn |
Subject: | Re: Telnetd looks DOA |
Date: | Tue, 13 Aug 2002 03:25:06 -0700 |
> This daemon did not respond to connections. Then I have a couple of questions more: 1) Does netstate -an show the port 23 in LISTEN state? 2) When attempting to connect, does telnet respond `Unable to connect to remote host: Connection refused' or it displays `Trying to connect..' and waits indefinitely? 3) Does the daemon report anything to syslog `daemon' facility?
Perusing /var/log/syslog to try and answer your third question turned up a couple of things: inetd couldn't find its configuration file, because it was looking in /usr/local/etc instead of /etc. I put a link in /usr/local/etc to /etc/inetd.conf, and netstat *now* shows port 23 in LISTEN state, and telnetd now takes connections. It also revealed that I hadn't created an /etc/login.defs file, which was causing a couple of the other problems I can now refrain from whining needlessly about.
It also uses unix98 ptys. So that's three down.But after I log out, it still shows me logged IN, which is the same problem I had with 1.3.2. I tested it as myself, as root (I hadn't yet forbidden root logins via telnet), and as another user, and all three still show logged in until the terminal is used again.
And more trivially, use of su leaves the command prompt as $. -av
[Prev in Thread] | Current Thread | [Next in Thread] |