delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/25/11:50:21

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=cDqknarVYwGgpuJ1
q0QTC3BUjAqhS6vgElS5RlkilFy9fDGx6q8MHdEPqdP4szcyrUQrzfrI+I0hWqun
DrxIyAFzsDWXDS+cBMRzIIDlkvilmD06g89Y904bNDcrKlujIfESLJ0gcylHm3dw
9NKiwXxgPLuYV5CGFFFMmpYXmso=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=XX9+yty78ClAKx6lANl9Nb
8yj00=; b=u3dPDBJ4SZAYlatXUaD4XvbUbpbPfpUoqZUr9b2bcoJfrymK+Td8CB
AB/GT7K/4DROkCl+8SNunMb9CEFQwckmZt8m8gXBzXldr+VnVhbIbhFt5b8tiPTG
8h2zi/o5Op2/kUieAEPDfw9+Jd1/DKiVLwSXgc760q33ShMENzAe8=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: vms173023pub.verizon.net
Message-id: <53FB5B01.60203@cygwin.com>
Date: Mon, 25 Aug 2014 11:49:21 -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 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.7.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Windows 7 sshd can only login as cyg_server
References: <53F6459F DOT 5060203 AT prager DOT ws> <20140822130626 DOT GK32314 AT calimero DOT vinschen DOT de> <53F77CAB DOT 4000800 AT cygwin DOT com> <20140822201933 DOT GN32314 AT calimero DOT vinschen DOT de> <53F7A865 DOT 6030801 AT cygwin DOT com> <20140822204402 DOT GP32314 AT calimero DOT vinschen DOT de> <53F7B515 DOT 8020704 AT cygwin DOT com> <20140825105139 DOT GE11052 AT calimero DOT vinschen DOT de> <20140825110043 DOT GF11052 AT calimero DOT vinschen DOT de>
In-reply-to: <20140825110043.GF11052@calimero.vinschen.de>

On 08/25/2014 07:00 AM, Corinna Vinschen wrote:
> On Aug 25 12:51, Corinna Vinschen wrote:
>> On Aug 22 17:24, Larry Hall (Cygwin) wrote:
>>> On 08/22/2014 04:44 PM, Corinna Vinschen wrote:
>>>
>>> <snip>
>>>
>>>> That's what I meant.  Do you have a non-admin account for testing
>>>> a login?
>>>
>>> I can only make a local non-admin user.  If I use that, it is just
>>> returning "Permission denied" after I enter the password.  I guess I'll
>>> have to fiddle with it a little more to see if I can figure out why that
>>> is.  But that seems tangential to the issue reported.
>>
>> But your effect doesn't sound good either.
>
> Did you create a passwd entry?  I just set up a machine for testing
> with a local cyg_server account, and I can login with local accounts
> just fine.  It's the domain accounts which fail.  In my case bash simply
> hangs for some reason I have yet to figure out.

Well I'm not sure I would expect a hang necessarily, unless it was trying
to interact with the PDC in some degenerate way.  But refusing connections
from domain user accounts in this configuration makes sense to me.
Obviously, there are more alternatives than I'm aware of here though...

Ugh!  I thought I had created a password entry for my local non-admin user
but I didn't.  Once I did that, I was able to ssh in using that user (and
password) just fine with the local cyg_server account.  So I think we
can chalk this failure up to user-error. ;-)

> If I use the domain cyg_server account, I can login with domain accounts
> as well as local accounts, independent of their admin-ness.

Yeah, I wish I could created domain accounts of either or both types to try.
But I suppose in the end, I may just be confirming that the domain I'm
working in is..."odd".  The behaviour you describe is exactly what I would
expect.  The behaviour I'm seeing with my domain (as well as local admin)
user being able to connect with only a local cyg_server seems a bit odd to
me.  But I suppose even if it is a generic "loophole", one could consider
it a feature. ;-)

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