inetutils questions

Chris Faylor cgf@cygnus.com
Wed May 31 17:33:00 GMT 2000


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



More information about the Cygwin mailing list