Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sat, 17 Feb 2001 09:12:20 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: 1.1.8-2 tcsh 6.10-1 inetutils-1.3.2-10 ( rshd + tcsh problem ) Message-ID: <20010217091220.C16740@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <001b01c09873$3a16af00$e682edc1 AT deepsleep> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <001b01c09873$3a16af00$e682edc1@deepsleep>; from dave@ook.demon.co.uk on Fri, Feb 16, 2001 at 11:50:21PM -0000 On Fri, Feb 16, 2001 at 11:50:21PM -0000, Mad Dave wrote: > If I connect via the rsh daemon as a user who has a default shell of the > tcsh, say by doing a command like 'rsh machine "echo hello"', the server > machines cpu usage jumps up to 100% and stays there for several minutes (it > is tcsh that is eating up all the cpu time not the rshd). I do have a > fairly large number of scripts that get sourced from the .tcshrc file, but > if I was to rlogin to the machine it returns a prompt practicaly instantly. > Anyideas as to why this is happening ? Or any solutions ( other than not > using the rshd ) ? No. The solution is in fact, don't use rshd but sshd. rshd is for reasons often mentioned in this mailing list not able to change the user context. That's a problem! Using ssh and sshd with RSA key _is_ definitely the better way - not only for security reasons (/usr/doc/Cygwin/openssh-2.3.0p1.README). There is another way, though. Start inetd from the user account which shall run rshd and the subshell. And don't forget to set the user permissions then (/usr/doc/Cygwin/inetutils-1.3.2.README). Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple