delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/07/06:20:18

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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=X5XeW+I6YtA8/pbe
7kp2XXTJsWDuzZ6oCuxCSNRc+6iidnhLvFnxOcuK5Ii6iVJkmyINQrQGiaflsPoM
HxSEwB49ZB+1f9Z+Y79eVX+egQLP7/6sjihL9W8WM6QoWrn5kI7K05KEqrH9lPaR
DzNJd4O6iXisoEzQ9IaaoR2oLX0=
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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=95a4Ij03ZSWHPVEojcrfXo
Q1Ji8=; b=Z5WyNAxkONqo7UBo+pMylLS/hF8IdN9CJnJe0rFidMkE3NmJi7gJ5B
tB/2N6yYmMTwC1ecpip4lVg1ExD18iAaJ3eqcTay91Uref220cMXpznBA4OijvtF
ALKOSHTpnCJ6mxREeN+m5GOTyJEb496oc64cJ4ionK5Ekhk6tT8V0=
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-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=BAYES_05,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=H*Ad:D*ne.jp, H*F:D*yandex.ru, HX-Languages-Length:738, Thursday
X-HELO: forward103o.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1551957601; bh=UrmBqGf+IAQOa5SlhBZofP9SlMmpQYjf66Y9PKRPqlo=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=pwJcAcgj44UG028oduaWJ5zLOBDLK8R6n+eb2jY4+TmOcI/8cRo9PHD/kZ20ZJRGF ETZQC8axYVvFrbdGA0H2newrFx+HBwCVjOEQ/8eOEezEpodxgPeohqooPONg4al5Gr 8J4YbRoXXMZbtxB82kxLjbqii4/GoKKgCvQTj8cA=
Authentication-Results: mxback20o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Thu, 7 Mar 2019 14:19:55 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <381052629.20190307141955@yandex.ru>
To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>, cygwin AT cygwin DOT com
Subject: Re: Logging-in using ssh elevates the user privilege.
In-Reply-To: <20190307010000.fc28b73739c2dd66e609982b@nifty.ne.jp>
References: <20190307010000 DOT fc28b73739c2dd66e609982b AT nifty DOT ne DOT jp>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Takashi Yano!

> This also causes gnu screen to freeze.

GNU screen freeze without much of an effort under Cygwin.
Try detaching from running screen and then running screen -ls.

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

> This does not occur if the user does not belong to
> Administrators group.

> I guess this is a problem of setuid codes.



-- 
With best regards,
Andrey Repin
Thursday, March 7, 2019 14:18:56

Sorry for my terrible english...


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