X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Message-ID: <1338283764.67862.YahooMailClassic@web28614.mail.ukl.yahoo.com> Date: Tue, 29 May 2012 10:29:24 +0100 (BST) From: Marilo Reply-To: narium85-mlscar AT yahoo DOT co DOT uk Subject: why is rsh not running normally but is running rlogin? To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q4T9Tqnl030369 As mentioned, I am just trying rexec/rsh/rlogin, just as a test, on my few computers. I know ssh is more secure.. I have uncommented these lines in inetd.conf shell stream tcp nowait root /usr/sbin/tcpd rshd -L login stream tcp nowait root /usr/sbin/tcpd rlogind exec stream tcp nowait root /usr/sbin/tcpd rexecd When I try to run rsh locally, this happens $ rsh 127.0.0.1 ls Permission denied. It doesn't even ask for a password. When I do rsh without a command, it launches rlogin. I know because it asks for a password I enter it push ENTER . Then it logs me in, and I run the ps command, and I see rlogin not rsh. And if I give a wrong username then I start doing ctrl-c ctrl-z.. it says rlogin. $ rsh -l sdf 127.0.0.1 Password: Login incorrect login: Password: Login incorrect login: rlogin: connection closed. Is that normal, and which implementations of rsh launch rlogin? BSD? GNU? And why won't it run when I add a command? rexec runs locally with a command, but rsh doesn't. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple