This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Some inetutils don't work
- To: cygwin at cygwin dot com
- Subject: Some inetutils don't work
- From: Zdzislaw Meglicki <gustav at beige dot ucs dot indiana dot edu>
- Date: Wed, 15 Aug 2001 14:55:38 -0500
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@woodlands $ uname -a
CYGWIN_NT-5.0 WOODLANDS 1.3.2(0.39/3/2) 2001-05-20 23:28 i686 unknown
gustav@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@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@WOODLANDS ~
$ pwd
/home/gustav
gustav@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@WOODLANDS ~
$ exit
logout
Connection closed by foreign host.
gustav@beige:../gustav 13:51:46 !9 $
And similarly for ftp:
gustav@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@beige:../gustav 13:52:49 !10 $
But for rsh and rlogin the connection does not work:
gustav@beige:../gustav 13:56:19 !18 $ rlogin -l gustav woodlands
Password:
Login incorrect
login: gustav
Password:
Login incorrect
login: Connection closed.
gustav@beige:../gustav 13:56:57 !19 $
However, interstingly, the following has some effect, which to me suggests
a bug:
gustav@beige:../gustav 13:58:03 !20 $ rlogin -l gustav@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@WOODLANDS ~
$ pwd
/home/gustav
gustav@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@WOODLANDS ~
$ exit
logout
Connection closed.
gustav@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@woodlands woodlands".
Is there something special I should do with my Cygwin /etc/passwd entry?
At present it looks as follows:
gustav@woodlands $ grep gustav /etc/passwd
gustav:*:1000:513:Zdzislaw Meglicki,S-1-5-21-2058559853-879773387-1169164804-1000:/home/gustav:/bin/bash
gustav@woodlands $
Best regards,
Gustav
Zdzislaw (Gustav) Meglicki, gustav@indiana.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/