Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <200108151955.f7FJtcU21456@beige.ucs.indiana.edu> To: cygwin AT cygwin DOT com Subject: Some inetutils don't work Date: Wed, 15 Aug 2001 14:55:38 -0500 From: Zdzislaw Meglicki Dear Cygwin, First, many, many thanks for having made the effort to port inetutils to Cygwin. This is greatly appreciated. Second, contrary to what you say in your README file, /usr/doc/Cygwin/inetutils-1.3.2.README, I cannot get rsh, rlogin and talk to work. But I can get telnet and ftp to work. Is there some configuration trick that I am missing? Here is a demo of what works and what doesn't. The Windows machine I am using is called "woodlands.ovpit.indiana.edu" and it runs Microsoft Windows 2000 5.00.2195 Service Pack 2. My version of Cygwin is: gustav AT woodlands $ uname -a CYGWIN_NT-5.0 WOODLANDS 1.3.2(0.39/3/2) 2001-05-20 23:28 i686 unknown gustav AT woodlands $ I have followed your instructions in the README, i.e., 1) I have run "iu-config"; 2) I have run "inetd --install-as-service" as the "administrator"; 3) I have linked cygwin1.dll to /usr/sbin, because this is where inetd.exe looks for it; 4) I have run "net start inetd" as the "administrator"; At this stage I get telnet and ftp working. Beige, from which I make the connection, is a Solaris-2.6 server: gustav AT beige:../gustav 13:51:23 !8 $ telnet woodlands Trying 129.79.15.18... Connected to woodlands.ovpit.indiana.edu. Escape character is '^]'. CYGWIN_NT-5.0 1.3.2(0.39/3/2) (WOODLANDS) (tty0) login: gustav Password: ================================================================= Welcome to woodlands.ovpit.indiana.edu CYGWIN_NT-5.0 WOODLANDS 1.3.2(0.39/3/2) 2001-05-20 23:28 i386 ================================================================= gustav AT WOODLANDS ~ $ pwd /home/gustav gustav AT WOODLANDS ~ $ ls Bambosz HPSS Immigration Nanotechnology SCI 2001 bin GPFS Houston Licenses.txt Pernambuco San Diego src Globus IBM Listy QuBIC TeX HPC Asia IU PPP My Pictures RealNetworks_files Woodlands gustav AT WOODLANDS ~ $ exit logout Connection closed by foreign host. gustav AT beige:../gustav 13:51:46 !9 $ And similarly for ftp: gustav AT beige:../gustav 13:51:46 !9 $ ftp woodlands Connected to woodlands.ovpit.indiana.edu. 220- ================================================================= 220- Welcome to woodlands.ovpit.indiana.edu 220- CYGWIN_NT-5.0 WOODLANDS 1.3.2(0.39/3/2) 2001-05-20 23:28 i386 220- ================================================================= 220 WOODLANDS FTP server (GNU inetutils 1.3.2) ready. Name (woodlands:gustav): gustav 331 Password required for gustav. Password: 230- ================================================================= 230- Welcome to woodlands.ovpit.indiana.edu 230- CYGWIN_NT-5.0 WOODLANDS 1.3.2(0.39/3/2) 2001-05-20 23:28 i386 230- ================================================================= 230 User gustav logged in. ftp> pwd 257 "/cygdrive/c/Documents and Settings/gustav/My Documents" \ is current directory. ftp> quit 221 Goodbye. gustav AT beige:../gustav 13:52:49 !10 $ But for rsh and rlogin the connection does not work: gustav AT beige:../gustav 13:56:19 !18 $ rlogin -l gustav woodlands Password: Login incorrect login: gustav Password: Login incorrect login: Connection closed. gustav AT beige:../gustav 13:56:57 !19 $ However, interstingly, the following has some effect, which to me suggests a bug: gustav AT beige:../gustav 13:58:03 !20 $ rlogin -l gustav AT woodlands woodlands Password: Login incorrect login: gustav Password: ================================================================= Welcome to woodlands.ovpit.indiana.edu CYGWIN_NT-5.0 WOODLANDS 1.3.2(0.39/3/2) 2001-05-20 23:28 i386 ================================================================= gustav AT WOODLANDS ~ $ pwd /home/gustav gustav AT WOODLANDS ~ $ ls Bambosz HPSS Immigration Nanotechnology SCI 2001 bin GPFS Houston Licenses.txt Pernambuco San Diego src Globus IBM Listy QuBIC TeX HPC Asia IU PPP My Pictures RealNetworks_files Woodlands gustav AT WOODLANDS ~ $ exit logout Connection closed. gustav AT beige:../gustav 13:58:25 !21 $ Observe that the connection is obtained only on the second attempt, i.e., the first time I type password, I get rejected. This is not a typo. This happens every time I try it. And ONLY when I use this incorrect call to rlogin: "rlogin -l gustav AT woodlands woodlands". Is there something special I should do with my Cygwin /etc/passwd entry? At present it looks as follows: gustav AT woodlands $ grep gustav /etc/passwd gustav:*:1000:513:Zdzislaw Meglicki,S-1-5-21-2058559853-879773387-1169164804-1000:/home/gustav:/bin/bash gustav AT woodlands $ Best regards, Gustav Zdzislaw (Gustav) Meglicki, gustav AT indiana DOT edu, Indiana University, Office of the Vice President for Information Technology, 601 E. Kirkwood Ave., Room 116, Bloomington, Indiana 47405-1223, USA, ph: 812-856-5597, fax: 812-855-3310, http://beige.ucs.indiana.edu/gustav -- 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/