From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from Ishtar.sc.tlinx.org (ishtar.tlinx.org [173.164.175.65]) by sourceware.org (Postfix) with ESMTPS id 1C3C93854825 for ; Thu, 29 Oct 2020 20:42:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1C3C93854825 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tlinx.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cygwin@tlinx.org 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 09TKfhal096554; Thu, 29 Oct 2020 13:41:45 -0700 Message-ID: <5F9B291F.7060806@tlinx.org> Date: Thu, 29 Oct 2020 13:42:07 -0700 From: L A Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: =?UTF-8?B?RGF2aWQgQmFsYcW+aWM=?= CC: cygwin@cygwin.com Subject: Re: Conflict if same username local and in domain References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2020 20:42:25 -0000 On 2020/10/29 05:39, David Bala=C5=BEic via Cygwin wrote: > Hi! > > I started Cygwin Terminal to find out, I landed in the other users > home folder and have no write access. > =20 ---- I have the same username, but not the same "home" directory. The user that signs in 1st gets the short name, the 2nd login gets the domain or system name appended like /users/linda/local-account /users/linda.domain/domain account. Both of the user names have uniq windows UUID's and I have both in my= /etc/passwd. The two directories SHARE many of the same files -- so both my logins= are in a common 'local' group (like 'lindaGroup'), and since the machine is in the domain, I can create a 'domain\lindagroup' and on my local machine, both logins are in that group -- for that matter, the domain gro= up is also in the local group -- so theoretically I could just put both logi= ns in the domain group. Anwyay, it DOES work -- it just has to be configured right. So you say you got /home/joe for both -- but don't they have a /user=20 directory that is different for each? just point your /home/=3D>/User, or if you really want them separate, the= n have /home/joe point to /Users/joe/home, and the domain should get joe.dom so /home/joe.dom =3D> /Users/joe.dom/home. I started with my /home dir pointed at my the same dir as my /users dir, = so by default, windows separated them. Both my userid and username are different -- have 2 entries in /etc/passw= d: Bliss\linda:*:5013:201:L A=20 Walsh,U-Bliss\linda,S-1-5-21-33333-77777-33333-5013:/Users/linda.Bliss:/b= in/bash linda:*:1000:1015:U-Athenae\linda,S-1-5-21-188-75-11-1000:/Users/linda:/b= in/bash