delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/07/17/05:06:04

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=PBAWEvSmP7BGkBJt
NUoBvmFhPKBNB/C6JbHrMDrHjgQdJGxvTFKLDA/hqO7UYQi+pe8c4bBTCTWak2lT
ouxnWUcl0o4Vgh3xpZW3KihkotIshuIcvdO4ZGb5Pg67tvQXZw1lzXruOR86HCZ+
4fb/RzvyWoT41sd5Ktdt7PN5p8s=
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=U8CFz4xp27xrB5oXVoQhaB
XsP40=; b=lRU4JQGdhWYdRyV4kQAd7eM134tg11sW396orSm/AM98lYwqtSWJ1n
q3RkLrT+0uvAX5s2hvZk2LN58UGYw5vguAS1xNt6fKzFj4E+UbkNbfPiZ/GvEkie
LvUKsij6MNiuj8SLfbbJsFr98FkuY1cXSYsOemM6rL5z3Ka3uznFA=
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=-5.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=H*r:present, H*r:Client, H*F:D*ru, H*UA:Bat!
X-HELO: forward105p.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1563354302; bh=HsC5JzyNoi2Ftlxe3p4SHWUKcQ8A1nibXPQzDxMwTNs=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=TR+bMF8qDGQYdMGg4leOFovZQN8gsfZjTv8/vr3OrARQzRK7Cg70rKuKqCVD/hOE/ awGDfOf/rU3Ub2ji2dNTGmHyOxJwBaSPevrpKbQmvgxpaKUUv+utTG9CxChHWugA2N 9FLRECNd1/7DSh8V1ZsQFh1eo1HREjO427FiFqXQ=
Authentication-Results: mxback12g.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Wed, 17 Jul 2019 12:02:49 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <407872014.20190717120249@yandex.ru>
To: L A Walsh <cygwin AT tlinx DOT org>, cygwin AT cygwin DOT com
Subject: Re: rename a user using setfacl -- possible? how?
In-Reply-To: <5D2E7F4B.9020606@tlinx.org>
References: <5D1FA19D DOT 2020707 AT tlinx DOT org> <113642000 DOT 20190706120641 AT yandex DOT ru> <5D206C63 DOT 4000908 AT tlinx DOT org> <69388071 DOT 20190706190156 AT yandex DOT ru> <2ac2d302-559c-b6ba-c7e2-5ec12e1683de AT SystematicSw DOT ab DOT ca> <5D2E7F4B DOT 9020606 AT tlinx DOT org>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, L A Walsh!

> On 2019/07/06 10:01, Brian Inglis wrote:
>> On 2019-07-06 10:01, Andrey Repin wrote:
>>   
>>>>
>>>>> It should, but I strongly suggest to avoid using it outside Cygwin directory
>>>>> tree to maintain maximum interoperability with Windows programs.
>>>>>         
>>>>         No problem.  my cygwin directory is at 'C:\', where it
>>>> has been since WinXP...  (:^|)
>>>>       
>>> THAT is a problem. A big problem.
>>>     
> ----
>     Forgot to get back on this.  But why would the above be a problem. 
> It never
> used to be and I have found it to be very useful. 

I though so too, back when I was using Windows XP.
But since then, I'm content with "/" cygdrive prefix. It's all that is needed.

>>>>> getent passwd
>>>>> getent group
>>>>>         
>>>>         those don't display GUID/UUIDs, but *nix user+group ids.
>>>>       
>>> Try it sometime. They do.
>>>     
>>
>> Try:
>> $ id user|group
>> and see below for getent nsswitch changes suggested.
>>   
> ----
>     I tried the above, BTW, and was surprised at the changes!


>     Had a related question.  I made changes to my /etc/password and
> /etc/group
> files.  I seem to remember how those files were read by cygwin when it
> was first starting, but I don't remember how to propagate changes in
> those files into
> cygwin.  Is there a way to send a command to one of the demons to reread
> those files?

They are read by the leading process in the tree, or if you are using
cygserver, that one may also cache them.
So, restart cygserver and all cygwin processes you have running.


-- 
With best regards,
Andrey Repin
Wednesday, July 17, 2019 12:00:16

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