X-Spam-Check-By: sourceware.org X-ClientAddr: 127.0.0.1 Message-ID: <63435.193.13.9.211.1148484459.squirrel@www.webmail.nuclear-diagnostics.com> Date: Wed, 24 May 2006 17:27:39 +0200 (CEST) From: Lars =?iso-8859-1?Q?Bj=F6rnfot?= To: cygwin AT cygwin DOT com User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-HermesMedical-MailScanner-Information: Please contact the ISP for more information X-HermesMedical-MailScanner: Found to be clean Subject: Re: rsh with command hangs, rlogin works X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Andrew DeFaria wrote: > You created? By hand. Or did you use ssh-host-config. Perhaps the sshd user you created was for privilege separation? I used ssh-host-config. You're right about sshd too. > If Local System account is toggle then you are using SYSTEM. Checked, it's SYSTEM. >Local:grep -e rsh -e rlogin /etc/inetd.conf >shell stream tcp nowait root /usr/sbin/in.rshd in.rshd -L >login stream tcp nowait root /usr/sbin/in.rlogind in.rlogind >Local:ll /usr/sbin/in.r* >-rwxr-x---+ 1 defaria Users 9728 Jan 13 02:19 /usr/sbin/in.rexecd.exe* >-rwxr-x---+ 1 defaria Users 11264 Jan 13 02:19 /usr/sbin/in.rlogind.exe* >-rwxr-x---+ 1 defaria Users 11264 Jan 13 02:19 /usr/sbin/in.rshd.exe* $ ls -l /usr/sbin/in.r* -rwxr-xr-x+ 1 lars Användare 9728 Jan 13 11:19 /usr/sbin/in.rexecd.exe -rwxr-xr-x+ 1 lars Användare 11264 Jan 13 11:19 /usr/sbin/in.rlogind.exe -rwxr-xr-x+ 1 lars Användare 11264 Jan 13 11:19 /usr/sbin/in.rshd.exe Just minor diffs and same for all in.* programs. I tried chmod 750 with no different result. But I was more thinking if a file which only in.rshd.exe uses, and potential problems with _it's_ contents or permissions. Can't think of any such file though. >You do realize that if you hope to have rsh be able to remotely >execute a command you need to configure it such that you can login >without a password (~/.rhosts or remove your password from your entry >in /etc/passwd). Yes, and "rsh localhost" lets me in without typing password, using ~/.rhosts . >Wait a second. This just in. On my XP Pro desktop here at work >I have the same situation! rsh localhost works but rsh localhost id >doesn't! What's going on here? rsh localhost prompts me for a password. >But rsh localhost id just hangs... With no .rhosts, wrong permission, or wrong content it prompts me for password (like it should). Great that it hangs! At least it increases the chance that either of us finds a solution. :-) Lars -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/