X-Spam-Check-By: sourceware.org Date: Tue, 6 Feb 2007 18:57:33 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: sshd exits during login attempt on WinXP 2003 x64 if user running sshd is different from user running ssh Message-ID: <20070206175733.GA26300@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Feb 6 09:29, Brian Kasper wrote: > If I run "c:\cygwin\usr\sbin\sshd -d" in a Windows command prompt > started as user "administrator" and then run "ssh -l kasper localhost" > in another command prompt started as user "administrator", the session > FAILS with the message "/bin/bash: Permission denied". > > If I run "c:\cygwin\usr\sbin\sshd -d" in a Windows command prompt > started as user "administrator" and then run "ssh localhost" in a > command prompt started as user "kasper", the session FAILS after these > sshd debugging messages: This won't work. By default, no user has the required permissions to change the user context. Start here: $ less /usr/share/doc/Cygwin/openssh.README and here: http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-switch and install sshd as service using the ssh-host-config script. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/