X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6247E385040D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1604141828;
	bh=a/tVbJN78dPQltWStcMw2spd3X75izzckNXkqGAOGn0=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=E/Z3GnWJ7aKhr9vxMS1eZ/9PwdQX4GxOLsg4h/W68IN08k1oSEHZkKocmtYRBRnVy
	 93ersv3NH5qoCQufOhLBWXVHc8Ox1XLMQS5nOMTKsrHHRxT0HENj5Y616pLRLpWZsT
	 6JKiVTpmHg8VB/ITpwiu9YKj8OZ+1n+8S3Izo8/4=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5ED313860C35
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: <CAPJ9Yc8QBJT9yAbE6QB1TZGTWtOd8mHkgZ5534ZnnOKs0jh4bg@mail.gmail.com>
 <5F9B291F.7060806@tlinx.org>
In-Reply-To: <5F9B291F.7060806@tlinx.org>
Date: Sat, 31 Oct 2020 11:56:54 +0100
Message-ID: <CAPJ9Yc_zGA++VuVqS9aLh4GbhV3dA-CvXk7prrnAg8AeyCPnQQ@mail.gmail.com>
Subject: Re: Conflict if same username local and in domain
To: L A Walsh <cygwin@tlinx.org>
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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: =?utf-8?q?David_Bala=C5=BEic_via_Cygwin?= <cygwin@cygwin.com>
Reply-To: =?UTF-8?Q?David_Bala=C5=BEic?= <xerces9@gmail.com>
Cc: cygwin@cygwin.com
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 09VAvk8n015115

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 <cygwin@tlinx.org> wrote:
>
> On 2020/10/29 05:39, David Balažic 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 group
> is also in the local group -- so theoretically I could just put both logins
> 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/=>/User, or if you really want them separate, then
> have /home/joe point to /Users/joe/home, and the domain should get
> joe.dom so /home/joe.dom => /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/passwd:
>
> Bliss\linda:*:5013:201:L A
> Walsh,U-Bliss\linda,S-1-5-21-33333-77777-33333-5013:/Users/linda.Bliss:/bin/bash
> linda:*:1000:1015:U-Athenae\linda,S-1-5-21-188-75-11-1000:/Users/linda:/bin/bash
>
>
>
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

