X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0	tests=AWL,BAYES_20
X-Spam-Check-By: sourceware.org
Message-ID: <4E7108B4.7080106@bopp.net>
Date: Wed, 14 Sep 2011 15:04:04 -0500
From: Jeremy Bopp <jeremy@bopp.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: login: no shell: /bin/bash: Permission denied
References: <CA950D62.21773%donald.larson@e-hps.com> <4E70C389.4030001@bopp.net> <4E70FF9F.4050709@cs.utoronto.ca>
In-Reply-To: <4E70FF9F.4050709@cs.utoronto.ca>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 9/14/2011 14:25, Ryan Johnson wrote:
> Question: in my experience sshd will not allow connections to users who
> have no password set, even when password-auth is not used. This happened
> on my wife's laptop, for example, where I ended up having to create a
> dummy user for myself that had a password, since she didn't want her
> account to have one.
> 
> Does SYSTEM have some sort of password after all?

No, I don't think it has a password, especially since its use is
disallowed for user logins in the first place, but I can't find any
reference to back up my assertion at the moment.  I can't explain your
experience with password-less user accounts though.  I've never tried
that configuration with sshd myself.

Is it possible that you neglected to add your wife's account information
into /etc/passwd before attempting to log in using it?  You'll get
rejected by sshd just like you describe unless the account you're trying
to use is listed in there.  Having the correct SID listed in the user
information is critical.

-Jeremy

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

