delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/14/15:34:13

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 14 Apr 2003 15:33:55 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Jeffery B. Rancier" <jeff DOT rancier AT softechnics DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Problems running telnetd
In-Reply-To: <u1y04yj1b.fsf@softechnics.com>
Message-ID: <Pine.GSO.4.44.0304141532380.26381-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Mon, 14 Apr 2003, Jeffery B. Rancier wrote:

> "Jon Beniston" <jbeniston AT compxs DOT com> writes:
>
> > 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
>
> I just downloaded and installed xinetd, and during the installation
> phase, I noticed that the install attempted to create several .conf
> files, which failed due to permissions it appeared.  I moved on fairly
> quickly, so I couldn't really tell.  But I get the same socket error
> on WinXPPro, but until I read, I'll assume it's a SMOC.

Jeff,

FYI, the latest setup (I'm not sure about the release, but definitely the
snapshot) logs the output of postinstall scripts (in
/var/log/setup.log.full).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019