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; q=dns; s=default; b=cZaeX yzR0iMXAtGWmUicY0NsupdfmebReAyZSj+5NQXUf5WDy4W13yuFF89E+rP4ApjC9 PjE5Yi/DOkRBGAVpo6IYGyz2+lUPg+jH2h0XxKBOwlEVxYb3uF8PQkHgWuAu0tzw KbpA8VpG9diCkrmOJxhSC0yL2NBaheU/2qWqHc= 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; s=default; bh=l9Pee87Xv4A 43+F6XZUQmRDpiu8=; b=jTLJ8LbFU4P4ba4mULk7v8yNIR8t3K/HcemPAmn+FBb xM2ePo0TB8WnQBMn9LstzuSM1rEHO+Jq4OYuKp2Avpm8FcFF409IYGJMfyXOquDA Lo4wUbCxdXd1RVz9h2RMVrTVi8QwaWAQBqSqyyOzk7t5ZI8/y/L13IJSN8E1C1co = 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=rights, H*c:HHHH X-HELO: conssluserg-06.nifty.com DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com w5G5u7j6012142 X-Nifty-SrcIP: [125.3.30.127] Date: Sat, 16 Jun 2018 14:56:17 +0900 From: Takashi Yano To: cygwin AT cygwin DOT com Subject: Re: [bug: csih] Setting privileged rights to cyg_server fails on Windows 7. Message-Id: <20180616145617.10af4cfb3e968296a0000334@nifty.ne.jp> In-Reply-To: <20180616094901.8c9c11e42ccaf7c2cd12233b@nifty.ne.jp> 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> <20180614091642 DOT GA2587 AT calimero DOT vinschen DOT de> <20180614192957 DOT 2128dbee897097bddb0844e4 AT nifty DOT ne DOT jp> <20180614113132 DOT GB2587 AT calimero DOT vinschen DOT de> <20180615195635 DOT 7fdf5323f459034451b675c3 AT nifty DOT ne DOT jp> <20180615133415 DOT GB5749 AT calimero DOT vinschen DOT de> <20180616094901 DOT 8c9c11e42ccaf7c2cd12233b AT nifty DOT ne DOT jp> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Sat__16_Jun_2018_14_56_17_+0900_Km==at9aM3MkQ+3/" X-IsSubscribed: yes --Multipart=_Sat__16_Jun_2018_14_56_17_+0900_Km==at9aM3MkQ+3/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi Corinna, On Sat, 16 Jun 2018 09:49:01 +0900 Takashi Yano wrote: > > To resolve this problem, I would like to propose a patch attached. > > I tested the patch for above 8 scenarios, and succeeded for all. > > Could you please have a look? I have noticed that the username returned by id command can be changed by editing /etc/passwd. Therefore I have made a new patch attached. Please have a look. -- Takashi Yano --Multipart=_Sat__16_Jun_2018_14_56_17_+0900_Km==at9aM3MkQ+3/ Content-Type: application/octet-stream; name="csih.patch" Content-Disposition: attachment; filename="csih.patch" Content-Transfer-Encoding: base64 LS0tIGN5Z3dpbi1zZXJ2aWNlLWluc3RhbGxhdGlvbi1oZWxwZXIuc2guMC45 LjEwCTIwMTgtMDYtMTUgMDY6MzU6MDUuMjIzNjMyODAwICswOTAwCisrKyBj eWd3aW4tc2VydmljZS1pbnN0YWxsYXRpb24taGVscGVyLnNoCTIwMTgtMDYt MTYgMTQ6MjU6NDQuOTU4MDA3ODAwICswOTAwCkBAIC0yODgyLDkgKzI4ODIs OCBAQAogICAgIGlmICEgY3NpaF91c2VfZmlsZV9ldGMgInBhc3N3ZCIKICAg ICB0aGVuCiAgICAgICAjIFRoaXMgdGVzdCBzdWNjZWVkcyBvbiBkb21haW4g bWVtYmVyIG1hY2hpbmVzIG9ubHksIG5vdCBvbiBEQ3MuCi0gICAgICBpZiBb ICJcXFxcJHtDT01QVVRFUk5BTUUsLCp9IiAhPSAiJHtMT0dPTlNFUlZFUiws Kn0iIFwKLQkgICAtYSAiJHtMT0dPTlNFUlZFUn0iICE9ICIiIFwKLQkgICAt YSAiJHtMT0dPTlNFUlZFUn0iICE9ICJcXFxcTWljcm9zb2Z0QWNjb3VudCIg XQorICAgICAgaWYgWyAiJHtVU0VSRE9NQUlOLCwqfSIgIT0gIiR7Q09NUFVU RVJOQU1FLCwqfSIgXAorCSAgIC1vICIkKC91c3IvYmluL21rcGFzc3dkIC1j IHwgL3Vzci9iaW4vYXdrIC1GOiAne3ByaW50ICQxfScpIiA9ICIke1VTRVJE T01BSU59KyR7VVNFUk5BTUV9IiBdCiAgICAgICB0aGVuCiAJIyBMb3dlcmNh c2Ugb2YgVVNFUkRPTUFJTgogICAgICAgCWNzaWhfUFJJVklMRUdFRF9VU0VS TkFNRT0iJHtDT01QVVRFUk5BTUUsLCp9KyR7dXNlcm5hbWV9Igo= --Multipart=_Sat__16_Jun_2018_14_56_17_+0900_Km==at9aM3MkQ+3/ Content-Type: text/plain; charset=us-ascii -- 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 --Multipart=_Sat__16_Jun_2018_14_56_17_+0900_Km==at9aM3MkQ+3/--