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:date:from:to:subject:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=DyP 1TbhHTs7yhoSfybjWPBuViJnvY/NZVcTd/5s4RfXw2KJq7n8NzB9kHKnFJQo1WnQ 46cvfRPspffEKyQkwk5N/g5/Z9WIYZNZQTst44DHL0J6/Kbwe/5K/lWosRkKSeNI U+4BJsii623Sfl2kP3XYQnyOAxbwC8GGeU7dCulM= 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:mime-version :content-type:content-transfer-encoding; s=default; bh=xwrighLk8 uYTue2nQzqUFe1PKEo=; b=P+I1PfOkT6XB9RXJMIvsxAJByFUhxmSBBf7TSHK1O kNyBAuecrRblrglCwsoZvr1rXx1rkhN3TewRuqfL7PyuGSkvZi2e0HGqmE6GtTsO m3c1PSFR1wVSU0thwWc81SL7CTZsRDg7uA3OUaQllLdLTDkTskSvVH2mXpaNXKzB mA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=solved, screen, HX-Languages-Length:1054 X-HELO: conssluserg-06.nifty.com DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com x27BEZFg020913 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1551957275; bh=APGs9XeSl+Kg2hBvEfkygqXHpnuOgXDX+4buXXqOXvs=; h=Date:From:To:Subject:From; b=ApM68HfC96wykjNVyjqb4akCGQ2fybYBDyJRv4ku1iXR/n2/8ZJSKlqCzrsngYAQi mwJ3mqw5MUwLOvsu+WSgu4kzzYma+yacHQyIBXVYmovn5aduTtyzqYJVa8sW0WZGwb Sp7x/EZZpul64gFS664GoowzHBXCd2R5dFI2Y8nrKiao8lLl4Xwtw5ZUBrg8ECaD4H JD2fZO1Bp4ns6tS3BZug2yZqr7LQEQejYS/X8deyiIsnqDdzTAXD9PfYPOBbppV8N3 o3fKKspkPRHoMtxCoHxS2jaGR7AVyC7bsszBetMr/rQZu+DBVN0Vbh7Pk7bJFDITlw C1RyYXMKPSi5w== Date: Thu, 7 Mar 2019 20:14:39 +0900 From: Takashi Yano To: cygwin AT cygwin DOT com Subject: Re: Logging-in using ssh elevates the user privilege. Message-Id: <20190307201439.26961eb34e0c4a19b1f1d376@nifty.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 -- 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