public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* in.telnetd problems
@ 1999-02-03  7:38 Chris McCarthy
  1999-02-28 23:02 ` Chris McCarthy
  0 siblings, 1 reply; 4+ messages in thread
From: Chris McCarthy @ 1999-02-03  7:38 UTC (permalink / raw)
  To: gnu-win32

I have installed the "remote" suite of server tools, I can't remember
where I got it from but it was precompiled and has in.telnetd, in.ftpd
etc etc.    I ran inetd from the shell, then telnet'ed to localhost. It
connected and the login authentication works, but after authentication
it just disconnects (see below)

chris_nt#> inetd
chris_nt#> telnet localhost
Trying 127.0.0.1...
Connected to chris_nt.qumas.ie.
Escape character is '^]'.

CYGWIN_NT-4.0 20.1 (0.3/1/1) (chris_nt) (tty0)

login: myuserid
Password:
Connection closed by foreign host.
chris_nt#>


By running inetd in debug mode I also get the following

someone wants telnet
accept, ctrl 3
+ Closing from 27
1263 execl /usr/local/libexec/in.telnetd
1263 reaped, status 0x100


/bin/sh exists. My home directory in /etc/passwd also exists
Any help appreciated.


..Chris.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* in.telnetd problems
  1999-02-03  7:38 in.telnetd problems Chris McCarthy
@ 1999-02-28 23:02 ` Chris McCarthy
  0 siblings, 0 replies; 4+ messages in thread
From: Chris McCarthy @ 1999-02-28 23:02 UTC (permalink / raw)
  To: gnu-win32

I have installed the "remote" suite of server tools, I can't remember
where I got it from but it was precompiled and has in.telnetd, in.ftpd
etc etc.    I ran inetd from the shell, then telnet'ed to localhost. It
connected and the login authentication works, but after authentication
it just disconnects (see below)

chris_nt#> inetd
chris_nt#> telnet localhost
Trying 127.0.0.1...
Connected to chris_nt.qumas.ie.
Escape character is '^]'.

CYGWIN_NT-4.0 20.1 (0.3/1/1) (chris_nt) (tty0)

login: myuserid
Password:
Connection closed by foreign host.
chris_nt#>


By running inetd in debug mode I also get the following

someone wants telnet
accept, ctrl 3
+ Closing from 27
1263 execl /usr/local/libexec/in.telnetd
1263 reaped, status 0x100


/bin/sh exists. My home directory in /etc/passwd also exists
Any help appreciated.


..Chris.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: in.telnetd problems
  1999-02-03  9:33 ` Chris McCarthy
@ 1999-02-28 23:02   ` Chris McCarthy
  0 siblings, 0 replies; 4+ messages in thread
From: Chris McCarthy @ 1999-02-28 23:02 UTC (permalink / raw)
  To: Kevin Wright; +Cc: kstone, gnu-win32

Thanks, got the answer from http://www.lexa.ru/sos/ and it works fine now.

I didn't have the "Replace a process level token" privilege.

..Chris.

Kevin Wright wrote:

> Chris,
>
> You wrote:
>
> > I have installed the "remote" suite of server tools, I can't remember
> > where I got it from but it was precompiled and has in.telnetd, in.ftpd
> > etc etc.    I ran inetd from the shell, then telnet'ed to
> > localhost. It
> > connected and the login authentication works, but after authentication
> > it just disconnects (see below)
> >
> > chris_nt#> inetd
> > chris_nt#> telnet localhost
> > Trying 127.0.0.1...
> > Connected to chris_nt.qumas.ie.
> > Escape character is '^]'.
> >
> > CYGWIN_NT-4.0 20.1 (0.3/1/1) (chris_nt) (tty0)
> >
> > login: myuserid
> > Password:
> > Connection closed by foreign host.
> > chris_nt#>
> >
> >
> > By running inetd in debug mode I also get the following
> >
> > someone wants telnet
> > accept, ctrl 3
> > + Closing from 27
> > 1263 execl /usr/local/libexec/in.telnetd
> > 1263 reaped, status 0x100
> >
> >
> > /bin/sh exists. My home directory in /etc/passwd also exists
> > Any help appreciated.
>
> > ..Chris.
>
> I'm no expert in this area but I did manage to get this to work.
> Two things I can think of that you need to check:
>
> 1. you entry for /etc/passwd should something look like:
>
> kwright::1246:513:Kevin
> Wright:/usr/kwright:/cygnus/CYGWIN~1/H-I586~1/bin/bash
>
> 2. You need to have a inetd.conf file in /usr/local/etc
>    which tells it to start telnetd when you login.
>
> Check Sergey's web site: http://www.lexa.ru/sos/ as well as
> the mail archives. Corinna seems to know alot about this.
> Here's one example of mail from her:
> ------------------------------------------
>   >
>   > Hello, Corinna.
>   >
>   > I am trying your passwd program, but it does not touch my
>   > /etc/passwd file. Could you please send me some instructions
>   > for correct installation and usage of your passwd ?
>
>   `passwd' doesn't work on /etc/passwd but on the WinNT user
>   database. It's useless, to write passwords into /etc/passwd for
>   login purposes on a NT computer.
>
>   Regards,
>   Corinna
> ------------------------------------------
>
> Regards,
>
> Kevin Wright


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: in.telnetd problems
       [not found] <001c01be4f96$9855c880$8f88f726@holstein.ASPECTDV.COM>
@ 1999-02-03  9:33 ` Chris McCarthy
  1999-02-28 23:02   ` Chris McCarthy
  0 siblings, 1 reply; 4+ messages in thread
From: Chris McCarthy @ 1999-02-03  9:33 UTC (permalink / raw)
  To: Kevin Wright; +Cc: kstone, gnu-win32

Thanks, got the answer from http://www.lexa.ru/sos/ and it works fine now.

I didn't have the "Replace a process level token" privilege.

..Chris.

Kevin Wright wrote:

> Chris,
>
> You wrote:
>
> > I have installed the "remote" suite of server tools, I can't remember
> > where I got it from but it was precompiled and has in.telnetd, in.ftpd
> > etc etc.    I ran inetd from the shell, then telnet'ed to
> > localhost. It
> > connected and the login authentication works, but after authentication
> > it just disconnects (see below)
> >
> > chris_nt#> inetd
> > chris_nt#> telnet localhost
> > Trying 127.0.0.1...
> > Connected to chris_nt.qumas.ie.
> > Escape character is '^]'.
> >
> > CYGWIN_NT-4.0 20.1 (0.3/1/1) (chris_nt) (tty0)
> >
> > login: myuserid
> > Password:
> > Connection closed by foreign host.
> > chris_nt#>
> >
> >
> > By running inetd in debug mode I also get the following
> >
> > someone wants telnet
> > accept, ctrl 3
> > + Closing from 27
> > 1263 execl /usr/local/libexec/in.telnetd
> > 1263 reaped, status 0x100
> >
> >
> > /bin/sh exists. My home directory in /etc/passwd also exists
> > Any help appreciated.
>
> > ..Chris.
>
> I'm no expert in this area but I did manage to get this to work.
> Two things I can think of that you need to check:
>
> 1. you entry for /etc/passwd should something look like:
>
> kwright::1246:513:Kevin
> Wright:/usr/kwright:/cygnus/CYGWIN~1/H-I586~1/bin/bash
>
> 2. You need to have a inetd.conf file in /usr/local/etc
>    which tells it to start telnetd when you login.
>
> Check Sergey's web site: http://www.lexa.ru/sos/ as well as
> the mail archives. Corinna seems to know alot about this.
> Here's one example of mail from her:
> ------------------------------------------
>   >
>   > Hello, Corinna.
>   >
>   > I am trying your passwd program, but it does not touch my
>   > /etc/passwd file. Could you please send me some instructions
>   > for correct installation and usage of your passwd ?
>
>   `passwd' doesn't work on /etc/passwd but on the WinNT user
>   database. It's useless, to write passwords into /etc/passwd for
>   login purposes on a NT computer.
>
>   Regards,
>   Corinna
> ------------------------------------------
>
> Regards,
>
> Kevin Wright

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-02-28 23:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-03  7:38 in.telnetd problems Chris McCarthy
1999-02-28 23:02 ` Chris McCarthy
     [not found] <001c01be4f96$9855c880$8f88f726@holstein.ASPECTDV.COM>
1999-02-03  9:33 ` Chris McCarthy
1999-02-28 23:02   ` Chris McCarthy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).