Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <63340-22003441015535124@M2W037.mail2web.com> X-Priority: 3 Reply-To: lhall AT rfk DOT com X-Originating-IP: 209.113.174.244 From: "lhall AT pop DOT ma DOT ultranet DOT com" To: jbeniston AT compxs DOT com, cygwin AT cygwin DOT com Subject: RE: Problems running telnetd Date: Thu, 10 Apr 2003 11:53:05 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 X-OriginalArrivalTime: 10 Apr 2003 15:54:42.0852 (UTC) FILETIME=[804E0E40:01C2FF79] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h3AFriR19401 It's my observation that the problems people experience with inetd, sshd, telnetd, crond, ftpd, and other services disappear once they're configured properly. Usually this has to do with missing information which is generally found in the documentation in the /usr/doc directory, specifically /usr/doc/Cygwin. In your case, you would want to study inetutils*.README and login.README. I don't know if you've reviewed those thoroughly or not. Also the Cygwin User's Guide has good information on permissions/security that is useful background. Then of course there's the email archives which you've obviously looked at already. It's possible that all of this information isn't enough to solve your problem. If that's the case, you'll want to visit to get an understanding of the process of reporting a bug or problem and eliciting help, assuming your general query below doesn't result in some response with a solution which happens matches your problem. HTH, Larry Original Message: ----------------- From: Jon Beniston jbeniston AT compxs DOT com Date: Thu, 10 Apr 2003 16:08:37 +0100 To: cygwin AT cygwin DOT com Subject: Problems running telnetd Hi all, I'm seeing the following problem when trying to run telnetd. If I start it from the command line with: cd /usr/sbin ./in.telnetd I get: ./in.telnetd: getpeername: Socket operation on non-socket I'm using cygwin 1.3.22-1, inetutils 1.3.2-2 and Windows XP. However, it appears to run if I do: ./in.telnetd -debug And I'm able to telnet in. However.. When I try to start telnetd with xinetd and then try telnetting. I get: 03/4/10 AT 15:43:40: DEBUG: {main_loop} select returned 1 03/4/10 AT 15:43:40: DEBUG: {server_start} Starting service telnet 03/4/10 AT 15:43:40: DEBUG: {main_loop} active_services = 13 03/4/10 AT 15:43:40: ERROR: {set_credentials} setuid failed: Permission denied (errno = 13) 03/4/10 AT 15:43:40: DEBUG: {main_loop} active_services = 13 03/4/10 AT 15:43:40: DEBUG: {main_loop} select returned 1 03/4/10 AT 15:43:40: DEBUG: {check_pipe} Got signal 20 (Child status changed) 03/4/10 AT 15:43:40: DEBUG: {child_exit} waitpid returned = 5592 03/4/10 AT 15:43:40: DEBUG: {server_end} telnet server 5592 exited I also have a problem on another machine whereby I can get telnetd running, but no username/password appears to work. Aggh. I've been looking through the mailing list archive and there seem to be many people who have had the same problem, but there doesn't seem to be a definitive answer. (For example, some people say that telnetd has to be run using inetd and not from a shell, but for me it's the other way round). I still have a few things to try, but was wondering if someone has assembled a list of problems / issues etc? Cheers, JonB -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/