From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) by sourceware.org (Postfix) with ESMTPS id 5ED313860C35 for ; Sat, 31 Oct 2020 10:57:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5ED313860C35 Received: by mail-vs1-xe2d.google.com with SMTP id y78so4804875vsy.6 for ; Sat, 31 Oct 2020 03:57:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=BvRXzwdrh+k7TgomN4dzKVjVlZAGT6YivGj2g2To/wM=; b=oEXSDa1BevS6/lt5nV8amEg+EUGiOIKHg0dtOy2YPJfSa8Ry05g3zTe7+9DOnlgSdM La1TJubPgR++iSKPsiUXa7w/2cuSLCIyVW6RTfHOsSh+5poFpawnjtnyMael3Eez9LSj Zzbh5DfuKwoz31dfX5uBNo+umnCrl6QRZxFD60I4bfvvP03olIvDoGw3/ol8ge3P9dlF R66/9ldO6W0PC9/uld8PEH6U4OZGvE/lqApTtcuF0ym77gjFTl9mVgGi7zIchR1YWibe bsDVeYoAfuRtyQdpuJHSme+1pSnIww6I2PBGSx9yWBE3FDis8Rwl/ChTtL6HRJ8TcJAk SdRQ== X-Gm-Message-State: AOAM530MWuihAi6UkdHb2MatMqgYj+yK/ZqOUwzJu1eOwORlmZz0R0X4 uPUgNt1H8yP1TVfNF8AwrfyrlqQQbwBuwYloh/Ai5YF58aPDjQ== X-Google-Smtp-Source: ABdhPJwOohCjkUb/NMUuDNRzaTVsepIbx4inJ4xEfczoqEiRLTcGYaDVHWK9Buz6hiV7HW8xLmT0KAywsxCa9gzHxaw= X-Received: by 2002:a67:31d2:: with SMTP id x201mr4124131vsx.24.1604141824910; Sat, 31 Oct 2020 03:57:04 -0700 (PDT) MIME-Version: 1.0 References: <5F9B291F.7060806@tlinx.org> In-Reply-To: <5F9B291F.7060806@tlinx.org> From: =?UTF-8?Q?David_Bala=C5=BEic?= Date: Sat, 31 Oct 2020 11:56:54 +0100 Message-ID: Subject: Re: Conflict if same username local and in domain To: L A Walsh Cc: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, 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: Sat, 31 Oct 2020 10:57:06 -0000 I don't have any of /user /users /User /Users folders on my setup. Do you mean C:\Users ? Even if I symlink it, won't that just change the location, but not the used usernames? As for /etc/passwd , I don't have that file. /etc/nsswitch.conf is empty (only comments). It is basically a fresh cygwin (64) installation with default settings. Regards, David On Thu, 29 Oct 2020 at 21:42, L A Walsh wrote: > > 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. > > > ---- > 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 > 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 > 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 > > >