* Re: telnetd with latest snapshots? (Solved)
@ 1999-12-15 5:49 Earnie Boyd
1999-12-31 13:28 ` Earnie Boyd
0 siblings, 1 reply; 4+ messages in thread
From: Earnie Boyd @ 1999-12-15 5:49 UTC (permalink / raw)
To: Charles S. Wilson; +Cc: cygwin users
--- "Charles S. Wilson" <cwilson@ece.gatech.edu> wrote:
> Arrrggghhh! I should know better....
>
> I had ^M's in my passwd file (binary mounts). I don't know how they got
> there, but vim is "smart" enough not to show them; so I had no idea they
> were present. Once I removed them, everything worked fine. It was not
Add `set binary' to your vimrc file. Then the file will be opened in binary
mode always unless you specify a command line switch.
=====
Earnie Boyd < mailto:earnie_boyd@yahoo.com >
Cygwin Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >
__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: telnetd with latest snapshots? (Solved)
1999-12-15 5:49 telnetd with latest snapshots? (Solved) Earnie Boyd
@ 1999-12-31 13:28 ` Earnie Boyd
0 siblings, 0 replies; 4+ messages in thread
From: Earnie Boyd @ 1999-12-31 13:28 UTC (permalink / raw)
To: Charles S. Wilson; +Cc: cygwin users
--- "Charles S. Wilson" <cwilson@ece.gatech.edu> wrote:
> Arrrggghhh! I should know better....
>
> I had ^M's in my passwd file (binary mounts). I don't know how they got
> there, but vim is "smart" enough not to show them; so I had no idea they
> were present. Once I removed them, everything worked fine. It was not
Add `set binary' to your vimrc file. Then the file will be opened in binary
mode always unless you specify a command line switch.
=====
Earnie Boyd < mailto:earnie_boyd@yahoo.com >
Cygwin Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >
__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* telnetd with latest snapshots?
@ 1999-12-13 21:15 Charles S. Wilson
1999-12-14 6:30 ` Chris Faylor
0 siblings, 1 reply; 4+ messages in thread
From: Charles S. Wilson @ 1999-12-13 21:15 UTC (permalink / raw)
To: cygwin
Has anybody been able to get telnetd working with the latest snapshots?
I've had inetd/telnetd working in the past. I've updated my system to
the latest snapshots, and telnet no longer works. I've tried:
starting from scratch, following the instructions at
http://www.geocities.com/CapeCanaveral/Lab/5735/1/installing_telnetd.html
recompiled inetutils-1.3.2 + Sergey's patch (just in case...)
These are the symptoms:
#1------------------------
running inetd and telnet as "cwilson" - an ordinary user without
special rights. This should (and does) fail.
------------------------
~ > telnet localhost
Trying 127.0.0.1...
Connected to belgarion.riva.local.
Escape character is '^]'.
CYGWIN_NT-4.0 22.0(0.16/3/2) (belgarion) (tty2)
login: cwilson
Password:
Connection closed by foreign host.
By running inetd (as cwilson) in debug mode I also get the following:
someone wants telnet
accept, ctrl 3
+ Closing from 14
1069 execl /usr/local/libexec/in.telnetd
1069 reaped, status 0x100
Now, I'm not surprised that failed. It's not supposed to work because
"cwilson" doesn't have the proper rights. Here's the wierd thing: When I
run all this as Administrator, *WITH* the following rights explicitly
added:
Act as part of the operating system
Increase quotas
Replace a process level token
I get basically identical results:
#2---------------------------
running inetd and telnet as "Administrator" - with the special rights
---------------------------
~ > telnet localhost
Trying 127.0.0.1...
Connected to belgarion.riva.local.
Escape character is '^]'.
CYGWIN_NT-4.0 22.0(0.16/3/2) (belgarion) (tty2)
login: cwilson
Password:
Connection closed by foreign host.
By running inetd (as Administrator) in debug mode I also get the
following:
someone wants telnet
accept, ctrl 3
+ Closing from 14
1067 execl /usr/local/libexec/in.telnetd
1067 reaped, status 0x100
-----------------------------------
Sorry for the length of this message, but can anybody shed some light on
this problem? My guess is that telnetd can't find my shell or something.
Here's the relevant entry from my passwd file:
cwilson::1002:545:Charles
Wilson,U-cwilson,S-1-5-21-144006512-467950226-1660491571-1002:/cygdrive/e/Users/cwilson:/bin/sh.exe
(all on one line). /bin/sh.exe does exist, it's a copy of bash.exe. I've
tried /bin/sh (no exe), /bin/bash, /bin/bash.exe. I've tried changing my
home dir path; mounting E:\ as /e, and using /e/Users/cwilson. I've
tried it with and without the special "U-cwilson" thing that Corinna
added two weeks ago. I'm at my wit's end on this thing.
Thanks,
--Chuck
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: telnetd with latest snapshots?
1999-12-13 21:15 telnetd with latest snapshots? Charles S. Wilson
@ 1999-12-14 6:30 ` Chris Faylor
1999-12-14 14:02 ` Corinna Vinschen
0 siblings, 1 reply; 4+ messages in thread
From: Chris Faylor @ 1999-12-14 6:30 UTC (permalink / raw)
To: Charles S. Wilson; +Cc: cygwin
On Tue, Dec 14, 1999 at 12:18:44AM -0500, Charles S. Wilson wrote:
>Has anybody been able to get telnetd working with the latest snapshots?
FWIW, yes. I use telnet all of the time with the latest snapshots. I
don't have any of Corinna's stuff in my /etc/passwd, though.
You should be able to debug this by running gdb on in.telnetd. There
is an option to in.telnetd to run it standalone. Possibly it's "-debug".
cgf
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: telnetd with latest snapshots?
1999-12-14 6:30 ` Chris Faylor
@ 1999-12-14 14:02 ` Corinna Vinschen
1999-12-14 20:46 ` telnetd with latest snapshots? (Solved) Charles S. Wilson
0 siblings, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 1999-12-14 14:02 UTC (permalink / raw)
To: Chris Faylor; +Cc: Charles S. Wilson, cygwin
Chris Faylor wrote:
>
> On Tue, Dec 14, 1999 at 12:18:44AM -0500, Charles S. Wilson wrote:
> >Has anybody been able to get telnetd working with the latest snapshots?
>
> FWIW, yes. I use telnet all of the time with the latest snapshots. I
> don't have any of Corinna's stuff in my /etc/passwd, though.
>
> You should be able to debug this by running gdb on in.telnetd. There
> is an option to in.telnetd to run it standalone. Possibly it's "-debug".
I'm working with telnetd started via inetd as a service all the time.
I'm using the ntsec option and the "U-" extension of /etc/passwd as
well.
I had problems with the first two or three snapshots after Chris
signal handling patch. It might be related to another problem which
I saw in tcsh but I don't know for sure.
With the winsup-src-991210 snapshot, I have no problems in running
inetd and telnetd again.
Regards,
Corinna
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: telnetd with latest snapshots? (Solved)
1999-12-14 14:02 ` Corinna Vinschen
@ 1999-12-14 20:46 ` Charles S. Wilson
1999-12-31 13:28 ` Charles S. Wilson
0 siblings, 1 reply; 4+ messages in thread
From: Charles S. Wilson @ 1999-12-14 20:46 UTC (permalink / raw)
To: Corinna Vinschen; +Cc: Chris Faylor, cygwin
Arrrggghhh! I should know better....
I had ^M's in my passwd file (binary mounts). I don't know how they got
there, but vim is "smart" enough not to show them; so I had no idea they
were present. Once I removed them, everything worked fine. It was not
necessary to use the 19991210 snapshot (I'm still using the 19991124
version). gdb helped me realize that it was "login.exe" that was failing
to execute "/bin/bash^M". Thanks, all, for the suggestions.
Now if only I could find that brown paper bag I keep for just these
sorts of emergencies...
--Chuck
Corinna Vinschen wrote:
>
> Chris Faylor wrote:
> >
> > On Tue, Dec 14, 1999 at 12:18:44AM -0500, Charles S. Wilson wrote:
> > >Has anybody been able to get telnetd working with the latest snapshots?
> >
> > FWIW, yes. I use telnet all of the time with the latest snapshots. I
> > don't have any of Corinna's stuff in my /etc/passwd, though.
> >
> > You should be able to debug this by running gdb on in.telnetd. There
> > is an option to in.telnetd to run it standalone. Possibly it's "-debug".
>
> I'm working with telnetd started via inetd as a service all the time.
> I'm using the ntsec option and the "U-" extension of /etc/passwd as
> well.
>
> I had problems with the first two or three snapshots after Chris
> signal handling patch. It might be related to another problem which
> I saw in tcsh but I don't know for sure.
>
> With the winsup-src-991210 snapshot, I have no problems in running
> inetd and telnetd again.
>
> Regards,
> Corinna
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: telnetd with latest snapshots? (Solved)
1999-12-14 20:46 ` telnetd with latest snapshots? (Solved) Charles S. Wilson
@ 1999-12-31 13:28 ` Charles S. Wilson
0 siblings, 0 replies; 4+ messages in thread
From: Charles S. Wilson @ 1999-12-31 13:28 UTC (permalink / raw)
To: Corinna Vinschen; +Cc: Chris Faylor, cygwin
Arrrggghhh! I should know better....
I had ^M's in my passwd file (binary mounts). I don't know how they got
there, but vim is "smart" enough not to show them; so I had no idea they
were present. Once I removed them, everything worked fine. It was not
necessary to use the 19991210 snapshot (I'm still using the 19991124
version). gdb helped me realize that it was "login.exe" that was failing
to execute "/bin/bash^M". Thanks, all, for the suggestions.
Now if only I could find that brown paper bag I keep for just these
sorts of emergencies...
--Chuck
Corinna Vinschen wrote:
>
> Chris Faylor wrote:
> >
> > On Tue, Dec 14, 1999 at 12:18:44AM -0500, Charles S. Wilson wrote:
> > >Has anybody been able to get telnetd working with the latest snapshots?
> >
> > FWIW, yes. I use telnet all of the time with the latest snapshots. I
> > don't have any of Corinna's stuff in my /etc/passwd, though.
> >
> > You should be able to debug this by running gdb on in.telnetd. There
> > is an option to in.telnetd to run it standalone. Possibly it's "-debug".
>
> I'm working with telnetd started via inetd as a service all the time.
> I'm using the ntsec option and the "U-" extension of /etc/passwd as
> well.
>
> I had problems with the first two or three snapshots after Chris
> signal handling patch. It might be related to another problem which
> I saw in tcsh but I don't know for sure.
>
> With the winsup-src-991210 snapshot, I have no problems in running
> inetd and telnetd again.
>
> Regards,
> Corinna
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-12-31 13:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-15 5:49 telnetd with latest snapshots? (Solved) Earnie Boyd
1999-12-31 13:28 ` Earnie Boyd
-- strict thread matches above, loose matches on Subject: below --
1999-12-13 21:15 telnetd with latest snapshots? Charles S. Wilson
1999-12-14 6:30 ` Chris Faylor
1999-12-14 14:02 ` Corinna Vinschen
1999-12-14 20:46 ` telnetd with latest snapshots? (Solved) Charles S. Wilson
1999-12-31 13:28 ` Charles S. Wilson
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).