From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20234 invoked by alias); 7 Mar 2019 11:14:47 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 20220 invoked by uid 89); 7 Mar 2019 11:14:46 -0000 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 Received: from conssluserg-06.nifty.com (HELO conssluserg-06.nifty.com) (210.131.2.91) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 07 Mar 2019 11:14:44 +0000 Received: from Express5800-S70 (ntsitm424054.sitm.nt.ngn.ppp.infoweb.ne.jp [219.97.74.54]) (authenticated) by conssluserg-06.nifty.com with ESMTP id x27BEZFg020913 for ; Thu, 7 Mar 2019 20:14:35 +0900 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, 07 Mar 2019 11:14:00 -0000 From: Takashi Yano To: cygwin@cygwin.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 X-SW-Source: 2019-03/txt/msg00139.txt.bz2 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