Mail Archives: cygwin/2001/08/15/16:45:24
Did you set your CYGWIN environment variable to point to the location of
inetd.exe? Or did you update the registry? One of these two is
necessary. Also, assuming your Cygwin is in c:\cygwin, make sure
c:\cygwin\bin is in your System path (not any individual user path) so
that the system can find cygwin1.dll (which I believe is in
c:\cygwin\bin) when starting up the inetd service?
Actually, seeing that you got telnet and ftp working, you've probably
got all this. I recently got rsh working, but rlogin still gives me a
permission denied error regarding executing bash (actually, login gives
me this problem during rlogin). I've only heard of one or two other
people with this problem, though, and no one on this list has given me
hints on what to do. So I've come to accept my fate for now (hoping the
next version will have fixed W2k acls or whatever's causing my problems
(1.1.8 rlogin worked)).
Good luck.
-Sandeep
Zdzislaw Meglicki wrote:
> 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/
>
>
--
---------------------------------------------
Sandeep V. Tamhankar
Member of Technical Staff
Tel: (408) 220-7505
Fax: (408) 774-2002
Email: sandman AT interwoven DOT com
Visit http://www.interwoven.com
Moving Business to the Web
--
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/
- Raw text -