delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/06/13/21:30:03

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=ZjbIbRpcNiJsVO64
Ql4kPmiDh5v+FIviYGKvB6QPLx2vzXOg6cRC3kRjUxv3zfgoego1mwMN+hCpJUaa
f5+v4HD0zzvi9dw30FWL6IbIaU0Q3cP1QtCh5Mp57b6jY9Ge072r84TpZdFLLwEZ
r46GMzbzZep8xvhbBlJZL1UbWqU=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=nLxXZjLAELE0I2JoO8v1yL
JkfRM=; b=i94yiifOYJLKbi93xSU8EvWuI/n42fC4WXACkMMR7jfFWc7kLeZBbZ
98yTMuy/XTeu/2H8EtcVYzfr/dCw+B5ESlLjDIOuKNeQsuzyyD/YXRSJmD9Wa8If
p+fyMndRJ0DSAo8O9Kw6fGHWC7EfckCWTvqV9rDbphYr9v3bDoyVU=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=Administrator, rights
X-HELO: nsstlmta09p.bpe.bigpond.com
X-RG-Spam: Unknown
X-RazorGate-Vade-Verdict: clean 50
X-RazorGate-Vade-Classification: clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedthedrledvgdegiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfupfevtfgpvffgnffuvfftteenuceurghilhhouhhtmecufedttdenucgoteefjeefqddtgeculdehtddmnecujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepufhhrgguugihuceurgguuggrhhcuoehlihhthhhiuhhmqdgthihgfihinhesshhhrgguugihsggruggurghhrdhnrghmvgeqnecuffhomhgrihhnpegthihgfihinhdrtghomhenucfkphepuddtuddrudeluddrudefrdduvdejnecurfgrrhgrmhephhgvlhhopegltddrtddrtddrtdgnpdhinhgvthepuddtuddrudeluddrudefrdduvdejpdhmrghilhhfrhhomhepoehlihhthhhiuhhmqdgthihgfihinhesshhhrgguugihsggruggurghhrdhnrghmvgequceuqfffjgepkeeukffvoffkoffgpdhrtghpthhtohepoegthihgfihinhestgihghifihhnrdgtohhmqeenucevlhhushhtvghrufhiiigvpedt
X-RG-VS-CLASS: clean
Subject: Re: [bug: csih] Setting privileged rights to cyg_server fails on Windows 7.
To: cygwin AT cygwin DOT com
References: <20180613224901 DOT d2cf679cef8eab89a834c494 AT nifty DOT ne DOT jp> <20180613181407 DOT GT7851 AT calimero DOT vinschen DOT de> <20180614062218 DOT eee6704d2ebc62383a2927c7 AT nifty DOT ne DOT jp>
From: Shaddy Baddah <lithium-cygwin AT shaddybaddah DOT name>
Message-ID: <3528d196-f810-ae33-1fd3-098bf5fe4746@shaddybaddah.name>
Date: Thu, 14 Jun 2018 11:29:40 +1000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
MIME-Version: 1.0
In-Reply-To: <20180614062218.eee6704d2ebc62383a2927c7@nifty.ne.jp>
X-IsSubscribed: yes

Hi,

On 14/06/18 07:22, Takashi Yano wrote:
> Hi Corinna,
> 
> On Wed, 13 Jun 2018 20:14:07 +0200
> Corinna Vinschen wrote:
>> There's something fishy in your environment.  The variable LOGONSERVER
>> is always set in Windows NT, at least since NT4.  For standalone
>> machines LOGONSERVER is set to "\\<machinename>".  You should really
>> try to find out why LOGONSERVER isn't set for you.
> 
> With your advice, I have found the cause. I usually logon as a user
> who does not have administrator rights for security reason. This user
> belong to only "Users" group. When I need administrator rights,
> I use "Run as administrator" menu to switch to another user who
> has administrator rights. In this case, LOGONSERVER is not set.
> 
> If I logoff from the first user account and logon as the second user,
> LOGONSERVER is set.
> 
> Moreover, the behaviour above seems to be true not only on Windows 7,
> but also on Windows 10.
> 
> I have confirmed that iu-config successfully finishes without the
> patch I proposed, if I logon as an administrative user instead of
> using "Run as administrator".
> 
> Thank you very much.

I proposed a similar patch last year, due to the same scenario you
mention (elevate to Administrator as a different user):

https://cygwin.com/ml/cygwin/2017-01/msg00233.html
https://cygwin.com/ml/cygwin/2017-01/msg00283.html

I got busy and never followed up on Corinna's concerns.

-- 
Regards,
Shaddy

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