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 To: Matt Swift Cc: cygwin AT cygwin DOT com Subject: Re: "setuid xxxx: Permission denied" with new openssh From: Len Giambrone Date: 29 Jul 2002 19:23:57 -0400 Message-ID: Lines: 38 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > A recent upgarde of openssh has broken incoming ssh service. When I > debug the sshd, I see the error below in the Event Viewer (which is a > very inconvient way to view log files -- is there any way to get the > sshd service to put out to a file?) Yes, use -e on the command line to sshd. e.g., cygrunsrv -I sshd -p /usr/sbin/sshd.exe -a "-D -e" This will throw all the logging into /var/log/sshd.log > > My guess is that there is some file permissions problem, but even with > LogLevel DEBUG3, I cannot get sshd to tell me what file lacks the > proper permissions. > > When I stop the service and run "sshd -d" from a bash shell (I am the > Administrator and only user of this machine; in /etc/passwd I have > userid 1006), I can ssh in to the machine normally. > > Any advice will be appreciated. > > openssh-3.4p1-4 > Windows XP Home > > I am *not* using privilege separation, but mostly default configuration of sshd > otherwise (just protocol 2, suppress motd, etc.) > > The same version of openssh with the same sshd_config file works OK on > a different Win2k machine I have and use in a similar way. The file > permissions on particular files or directories may be different of course. I've had the same problem; I've determined that it only fails with versions later than 1.3.10-1. Are you running the same version of Cygwin on your other box? -Len -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/