Tom.DeVito 12.14.2010(cygwin inetd configuration)

This is how to get telnet running locally using cygwin:

  • Install inetutiles and tcp-wrapper package for cygwin (Use the gatech ftp mirror).
  • Run cygwin as Administrator or just run it if you have UAC disabled
  • Enter the command:
  • cygrunsrv -I inetd -d "Cygwin inetd" -p /usr/sbin/inetd -a -D
    • Or try this: cygrunsrv --install inetd --path /usr/sbin/inetd --disp "Cygwin inetd" --args -D
  • Open etc/inetd.config in VI and uncomment the line for telnet(should say “telnet stream tcp nowait root /usr/sbin/tcpd telnetd”)
  • Now that the service is installed you can start it with
    • cygrunsrv -S inetd
  • to start it or to stop it:
    • cygrunsrv -E inetd
  • Run telnet and enter “open 127.0.0.1 23”  enter your user name and password and the hippo should welcome you.

Permissions were not required to be changed because localhost has full permission by default.  You may need to disable all the windows telnet features you enabled so that you don’t end up using the microsoft telnet client when you type telnet(best to do it anyways for security).  One kinda annoying thing if you use this manually is that as you type it puts a space between each letter and doesn’t delete the console characters when you back space.  I omitted a lot of stuff I did that I don’t think mattered in the end so if you have any problems tell me and I’ll figure out what exactly was missing.