delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/09/14/16:04:49

X-Recipient: archive-cygwin AT delorie DOT 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 AT bopp DOT 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 AT cygwin DOT com
Subject: Re: login: no shell: /bin/bash: Permission denied
References: <CA950D62.21773%donald DOT larson AT e-hps DOT com> <4E70C389 DOT 4030001 AT bopp DOT net> <4E70FF9F DOT 4050709 AT cs DOT utoronto DOT ca>
In-Reply-To: <4E70FF9F.4050709@cs.utoronto.ca>
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

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

- Raw text -


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