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: 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> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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