delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/07/05:08:28

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:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=QeLxXrQaHC+kewF6H4QsuEMxOIFvnQaPzKOobWIHeWi
tORx61SYT5O5rd5SMhEPqo+7ooDAoF04hrhEeTldq3mL4NEjG3IMlNr4PgBlwqIl
y2C8DVJKPJ5g+D74EnDMOq+DXNUcaH4RqSZKF88jC19/y6MFnSXMegBldxazRYEk
=
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=4CrcZ64eBl57td0nC4i1xXbE2kw=; b=yuIHyVhtsCWeLWLFa
/I+RfnlwcYNMFdZx9AUlCIj3KMUz5ZqDWpCYSZE9DvYc4Cgdeco672hOl0ZWd0go
P9RU5seyf0zdzje7xhc/7i40iP/e131EuEyqw0DAyxaWQo/6DONpXNzguNieZm8i
Jg6eq8qVGs150nLnge1ahsWhdE=
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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=HX-Spam-Relays-External:Sendmail, HX-Languages-Length:701
X-HELO: conssluserg-06.nifty.com
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com x27A81Js025951
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1551953282; bh=q+d6PSHTk+acSyT5nqkvICih5LTTD59rEmKy/RD4/5w=; h=Date:From:To:Subject:In-Reply-To:References:From; b=pAy3T0CYLh5yTvn4JG1gKeObAN6pogIed1ZmyITI2dxprk3ZE40BEDq7xpfNRVOt/ hbeHWU1Cc+fX4PDLVwBlit4KKtI3BOLdBlLD4jGXiaD9khEuDIQ6Zy3dPZLSKbOPYZ ynJnMOIjGJTUXym+1Ose7Sp8MqOoOCdr3GoHgQByLK51R3wthucEoCa+kjmmGnNoeS Oe721lY6rGGBeuvJN0ngtnvPaVg57Ax8agM6stil2hTH5siPPTxxvvsB5WUpeaMc6i RnJLN9tauztkAhvKZzDqF5FkYuKvACEK+D+DEi1ap9AUTb34V9kgIcGHZcSrN69p1S gdnSDjRynVhSg==
Date: Thu, 7 Mar 2019 19:08:05 +0900
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
To: cygwin AT cygwin DOT com
Subject: Re: Logging-in using ssh elevates the user privilege.
Message-Id: <20190307190805.db49864f5a7a9249d348842f@nifty.ne.jp>
In-Reply-To: <20190306161731.GA3785@calimero.vinschen.de>
References: <20190307010000 DOT fc28b73739c2dd66e609982b AT nifty DOT ne DOT jp> <20190306161504 DOT GZ3785 AT calimero DOT vinschen DOT de> <20190306161731 DOT GA3785 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
X-IsSubscribed: yes

Hi Corinna,

On Wed, 6 Mar 2019 17:17:31 +0100 Corinna Vinschen wrote:
> > This is by design, and this is no new behaviour.  As soon as an admin
> > account logs in, seteuid uses the elevated token.  Cygwin is doing that
> > since 2015.
> 
> Actually, since 2010.
> 
> > After all, from an ssh session there would be *no* chance to run
> > administrative tasks if the user would only get a non-elevated token.
> > There's no way to switch to the elevated token from an ssh session.

I understood. It seems better to remove administrator privileges
from users who are normally used, even under UAC feature.

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019