delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/07/16/21:53:10

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=IQlPRdOoIcmKM3OjYklvhMLb7tjncErxDNLqCCmXPPk
LZ9WDMYtCNLSG1sxqy5de4zkBkcAFPGBRX1MSsR8ZarbrnIEDNAKtgNGCQ89dmRq
/IB0McsKQh2R8KrUSlf4kQ9UPULxbmThZYiYfGOhGzhU0nqd8cKdcNJbKeOnoHl8
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=3ZNq2HKvfjOFQYJR5vj7wahMHpQ=; b=Vjuz5A7X0fphHKEEq
QIRH4+Oo55/EQNMJhRLWiMZ60jpdd5n5ezXOciwX6jyHqLrViCcHxKTIhfF9UcVU
Npa5PI1sdo8nNBOlAQHFtjsRT+o+vvrEJFYkI9y+cForqpXBod/vZdz5bScJB0oc
tEFWJOxoKB5yDTSSaa9W25GHHw=
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=-6.2 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2 autolearn=ham version=3.3.1 spammy=Brian, brian, password
X-HELO: Ishtar.sc.tlinx.org
Message-ID: <5D2E7F4B.9020606@tlinx.org>
Date: Tue, 16 Jul 2019 18:52:11 -0700
From: L A Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: rename a user using setfacl -- possible? how?
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>
In-Reply-To: <2ac2d302-559c-b6ba-c7e2-5ec12e1683de@SystematicSw.ab.ca>
X-IsSubscribed: yes

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. 



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

Thanks!


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