Web lists-archives.com

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

On Feb 16 08:09, Brian Inglis wrote:
> On 2019-02-16 02:45, Corinna Vinschen wrote:
> > On Feb 15 14:51, Bill Stewart wrote:
> >> On Fri, Feb 15, 2019 at 2:38 PM Brian Ingliswrote:
> >>
> >>> Windows normally allows "." to be used to refer to the local machine name in a
> >>> domain context - can anyone confirm or deny whether this works in Cygwin or with
> >>> getent?
> >>
> >> AFAICT, the "." shortcut does not work in Cygwin.
> > 
> > The combining operator for domain prepended usernames is '+'.  This
> > is the same character as used by good old Interix for the same purpose.
> That was not in question - the question was could .+$USER be used in lieu of
> $HOSTNAME be used in such contexts?

Yeah, I misunderstood this, sorry.  The answer is no.  The username is
fixed.  Otherwise you'd have two auto-generated passwd entries for the
same user which may lead to confusion (not necessarily confusion on the
user side...)

If this is a desired feature, we could try this, but it might break
existing setups again.


Corinna Vinschen
Cygwin Maintainer

Attachment: signature.asc
Description: PGP signature