delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/10/12:12:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.4 required=5.0 tests=AWL,BAYES_00,BOTNET,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-id: <4E42AD9F.5030505@cygwin.com>
Date: Wed, 10 Aug 2011 12:11:11 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin 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> <4E400F0A DOT 6080001 AT ank-sia DOT com>
In-reply-to: <4E400F0A.6080001@ank-sia.com>
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

On 8/8/2011 12:30 PM, Alexey Luchko wrote:
> 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.

This doesn't really mean that /bin/bash is inaccessible.  It means that bash
found something else inaccessible when running.  Check your resource file
permissions.  Look for network paths and other goodies in your rc files.
Turn on debugging in these files if you need to.  Make sure your home
directory is set properly in '/etc/passwd' as well.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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