delorie.com/archives/browse.cgi | search |
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 <narium85-mlscar AT yahoo DOT co DOT uk> |
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 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |