X-Recipient: archive-cygwin@delorie.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=pilpei8ml73viZu6
	EfEHGQkVb4J4Eb3JzYYQeE0g7D2jMGgx1IWfUFktWxXA2AK1OpaZut2aRJAz+n/h
	CQIK4PMrxBPVCigEXF7H0PogXEyxJ/LOirpe3OJeAule20oriFvGuweiIunpxPdK
	03/6o9/TKmye1DBfkXQxx5QNJi8=
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=9cDY2fpk5AJBiMLIwchy8F
	rHRaY=; b=d/GbGhExAunowlwvywpvCMHhxRhr7bbfiWdA6+w5sf1ULiCb7wh0yl
	xCFgsWkzWDmY1/xCV3MVPfGJqJcGRmkNClmRM3b0iurfzbyCexGEDY9ef8RwAa4Q
	SE+MclNv48I4Yyr6S14jzqmxWCciumMeR/OYQbOJPaXAnlLOZN4/0=
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
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: vms173019pub.verizon.net
Message-id: <53F7B515.8020704@cygwin.com>
Date: Fri, 22 Aug 2014 17:24:37 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.7.0
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: Windows 7 sshd can only login as cyg_server
References: <53F6459F.5060203@prager.ws> <20140822130626.GK32314@calimero.vinschen.de> <53F77CAB.4000800@cygwin.com> <20140822201933.GN32314@calimero.vinschen.de> <53F7A865.6030801@cygwin.com> <20140822204402.GP32314@calimero.vinschen.de>
In-reply-to: <20140822204402.GP32314@calimero.vinschen.de>
Content-type: text/plain; charset=UTF-8; format=flowed
Content-transfer-encoding: 7bit

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.

If I try using the cyg_server account (yuck, I feel filthy! ;-) ), I get
kicked out the same way as reported minus the message about chown.  That's
as close as I've gotten and, of course, it's exactly opposite what was
reported.

>>> Today I confused myself a lot by trying it (I'm using a domain cyg_server
>>> account for years so it was a bit of hacking) and I was able to login
>>> with a domain admin account but not with a normal domain account.
>>
>> That's with a local cyg_server running the service?
>
> Yes, sorry for not being clearer.  That was the hacky part.  It required
> to change the domain policy and stuff like that.

OK, so this sounds similar to what I'm seeing with my domain account and
with a local cyg_server running sshd.  I'm _shocked_.

>>> I didn't manage to debug this further.  However, what I never encounter is
>>> a "chown(/dev/ptyX,...) Permission denied" message.
>>
>> Yeah, me neither.  That's... special. ;-)
>
> ...and a bit incomprehensible :(

Indeed.  Maybe the OP has an actual file for the pseudo /dev/pty1 file?  If
so, maybe the permissions on the file are getting in the way??


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

