From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 106668 invoked by alias); 6 Jul 2019 09:39:53 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 106661 invoked by uid 89); 6 Jul 2019 09:39:53 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.1 required=5.0 tests=AWL,BAYES_05,GIT_PATCH_2 autolearn=ham version=3.3.1 spammy=Repin, Andrey, andrey, repin X-HELO: Ishtar.sc.tlinx.org Received: from ishtar.tlinx.org (HELO Ishtar.sc.tlinx.org) (173.164.175.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 06 Jul 2019 09:39:52 +0000 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id x669dmSb062311 for ; Sat, 6 Jul 2019 02:39:50 -0700 Message-ID: <5D206C63.4000908@tlinx.org> Date: Sat, 06 Jul 2019 09:39:00 -0000 From: L A Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: rename a user using setfacl -- possible? how? References: <5D1FA19D.2020707@tlinx.org> <113642000.20190706120641@yandex.ru> In-Reply-To: <113642000.20190706120641@yandex.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-07/txt/msg00044.txt.bz2 I don't think I explained things clearly. On 2019/07/06 02:06, Andrey Repin wrote: >> I guess I don't know how to modify an entry to either 1-rename it, or >> 2 add the new entry. > > You don't. > If you want to change name for display purposes, look into nsswitch.conf and > associated documentation. --- My machine's GUID changed. This file has entry for userX on the old machine-GUID. UserX also exists on the new machine GUID. So I renamed the old entry to UserXold so I could find all the places where the old GUID is referenced then change it to the machine's new guid. I'm not having cygwin create new groups or whatever, but trying to replace references to this Userid in the machine's old GUID and replace them with reference to the Uid with the machine's new GUID. if it was the main group, I'd just use find to locate instances of old and do chgrp to change ownership to new. However, this is a group entry in an acl list -- so I need to change the name of 1 entry in the acl list. > > 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... (:^|) > > getent passwd > getent group --- those don't display GUID/UUIDs, but *nix user+group ids. I wanted to see the windows guid associated with an identity. Since the one I was looking for was a well-known-id I found it, but in non-well-known cases,...? Thanks and sorry my explanation was confusing -- -- 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