From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5981 invoked by alias); 8 Aug 2011 16:30:23 -0000 Received: (qmail 5731 invoked by uid 22791); 8 Aug 2011 16:30:21 -0000 X-SWARE-Spam-Status: No, hits=1.2 required=5.0 tests=AWL,BAYES_20,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.ank-sia.com (HELO mail.ank-sia.com) (80.232.137.33) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 08 Aug 2011 16:30:05 +0000 Received: from [80.232.137.46] (port=57399) by mail.ank-sia.com with esmtp (Exim 4.76 (FreeBSD)) (envelope-from ) id 1QqSiJ-000H4J-6y for cygwin@cygwin.com; Mon, 08 Aug 2011 19:30:03 +0300 Message-ID: <4E400F0A.6080001@ank-sia.com> Date: Mon, 08 Aug 2011 16:30:00 -0000 From: Alexey Luchko User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: sshd on win7 References: <4E36CB68.3000606@ank-sia.com> In-Reply-To: <4E36CB68.3000606@ank-sia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-08/txt/msg00182.txt.bz2 Hi! Today I tried login to sshd running as windows service. ssh client told: """ user@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