delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/08/12:30:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.2 required=5.0 tests=AWL,BAYES_20,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4E400F0A.6080001@ank-sia.com>
Date: Mon, 08 Aug 2011 19:30:02 +0300
From: Alexey Luchko <luch AT ank-sia DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: sshd on win7
References: <4E36CB68 DOT 3000606 AT ank-sia DOT com>
In-Reply-To: <4E36CB68.3000606@ank-sia.com>
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

Hi!

Today I tried login to sshd running as windows service.  ssh client told: """
user AT localhost's password:
Last login: Mon Aug  8 19:21:03 2011 from ::1
/bin/bash: Permission denied
Connection to localhost closed.
"""

However, /bin/bash exists and the user is able to run it and the privilege 
separation account as well.


Then I tried running sshd -ddd from a console using the same user account 
as the service.  It told me chown(/dev/tty3, 11135, 10513) failed: Bad file 
descriptor.

The privilege separation user is in the local Administrators group.


I can't get a clue.   Any suggestion is very welcome :)

--
Thanks in advance.
Alex

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019