This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: inetutils questions
- To: Cygwin Mailing List <cygwin at sourceware dot cygnus dot com>
- Subject: Re: inetutils questions
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Wed, 31 May 2000 20:32:55 -0400
- References: <000201bfcb60$0d614280$524b2080@berkeley.edu>
- Reply-To: cygwin at sourceware dot cygnus dot com
On Wed, May 31, 2000 at 05:26:39PM -0700, Richard Stanton wrote:
>I just installed the latest inetutils, and they seem mainly to be running.
>Just a couple of questions:
>
>1) telnetd: This works using sh as the shell. However, I'd like to use 4nt
>as the shell, rather than /bin/sh. I edited passwd, and replaced "/bin/sh"
>with "/cygdrive/c/4nt/4nt.exe". Now, however, when I telnet to my machine,
>I'm immediately logged off, as in:
>
>You are successfully logged in to this ftp server!!!
>Connection closed by foreign host.
>
>How can I get 4nt.exe to be used as the login shell?
I don't think it can be done. I believe that 4nt.exe will be very confused
by Cygwin's handling of ptys -- which are really just Windows pipes.
>Followon - after manually editing passwd again using EMACS, putting /bin/sh
>back again, it still doesn't work until I run mkpasswd again. What's going
>on here?
Just as a wild guess, and given the fact that this seems to be the answer
to every other problem reported on this mailing list -- EMACS is probably
adding a ^M (or \r) before the end of the lines in /etc/passwd. mkpasswd
is probably not doing this.
cgf
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com