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:date:from:to:subject:message-id:in-reply-to
	:references:mime-version:content-type:content-transfer-encoding;
	 q=dns; s=default; b=X+lERMKxJB5FNeHzgcj8M0/LVMH6r1+ovnbvIlp4gDm
	E/yPeZVXNVOTrVLatEPw0Eh73Aaw8UKZAkF/ownQg6ZyNXw+ihz/wDVTYPB8Dasz
	v1ZmeHMC0DPKNgZNFGRcszVLokQ5I6Q8NqsTXtI+nUHGdDdQv7UpxHi60FtaBuJY
	=
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:date:from:to:subject:message-id:in-reply-to
	:references:mime-version:content-type:content-transfer-encoding;
	 s=default; bh=08h3Y/8rs2ehW+xbkDK+uUlSqbY=; b=RzLHxeSrN+KeRZrLF
	uurmOjlUjUwlsgYZ7R2IFu3f3x4lwlmjFRvPnNuVTczWI+NIb5JRhJb49YtxlOWd
	H1LTasOlDyVG0FFm/njOoNYrU09y9/5I8IPC8E6x9eiDnXsUvFzdVW6ziA12/wrp
	hLHmyiEPOLsGw2BGPcq27fDB0A=
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-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1218, bellow, screen
X-HELO: conssluserg-05.nifty.com
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com x27BMnxx001882
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp;	s=dec2015msa; t=1551957769;	bh=lAGD+25rCbKGwiyFJD2DgGKOfgCPgG1pWsg4H0XSjO0=;	h=Date:From:To:Subject:In-Reply-To:References:From;	b=JI2K+Dw6e///TQ7q+ufuGJKdbiO5P9u11zBzXdgKz4Ag9WriVkqLUddi/KKjCGhUE	 f/iHScIUJs3BHZuL2moukwa9sPVnXYGBrwAByT2PL7KiU9njyAumR734w8Q7fCt//u	 An+uoggWA6Cah4/TRau08iYD12hROgsdwnGZ4hXoF3QFVbvdCh+vlXUEn0W/N/2qqI	 YbpmGfK93mJ6T7YY8GGAGu8DHQT0vtUXRHaL3TRhaBnK3eqjEpEZ0Hj9TXfUdDGv/I	 AueeSyVhytT2xHL8DBn7yDCQzOjMsJ4Y2mqovcrFLwVEDQwBHYCU3adASPVC+ILW8J	 axo0YiTlrpSLQ==
Date: Thu, 7 Mar 2019 20:22:53 +0900
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin@cygwin.com
Subject: Re: Logging-in using ssh elevates the user privilege.
Message-Id: <20190307202253.1a0ce6380e57cae2754e2334@nifty.ne.jp>
In-Reply-To: <87ftrz6efm.fsf@Rainer.invalid>
References: <20190307010000.fc28b73739c2dd66e609982b@nifty.ne.jp>	<87ftrz6efm.fsf@Rainer.invalid>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Sorry, the message bellow accidentally lost the references.

On Thu, 7 Mar 2019 20:14:39 +0900 Takashi Yano wrote:
> On Wed, 06 Mar 2019 19:33:17 +0100 Achim Gratz wrote:
> > This has been the case for as long as I use ssh logins and is by design.
> > You can drop privileges after logon (see cygdrop), but not aquire new
> > ones.
> > 
> > So if that's changed behaviour for you, then your ssh logins didn't
> > actually work the way you thought they were.
> 
> Thank you for your reply. I had tried cygdrop, and confirmed that
> the problems below cannot be solved by cygdrop.
> 
> But I don't understand why...
> 
> On Thu, 7 Mar 2019 01:00:00 +0900 Takashi Yano wrote:
> > Because of this behaviour, the process started in a ssh
> > session cannot be killed from a normal mintty session.
> > 
> > This also causes gnu screen to freeze.
> > 
> > To reproduce this:
> > (1) Start screen in mintty window.
> > (2) Detatch from the screen (Ctrl-A d).
> > (3) Login via ssh.
> > (4) Attach screen by 'screen -r' in ssh session.
> > (5) Detach from the screen (Ctrl-A d).
> > (6) screen freezes and is not terminated normally.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

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

