delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/08/19:39:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=ojvrphs
jUTOYV46xQnN1ZR5+GiPw2yLhItGn7IFOTiC9xkF0lG3lEUhyM1t7FmiaYoSy3Zz
BwaZgYefmmoU2I9JB8JKGYCyo53yAO9rG+dVywFvYfY3ll3lZ+pfgBnVVVOnhfOy
nOl4807AbmYNBGiGDoiXNJ9k+LykRv0XkS0s=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=GDUI799XbseMe
wtVgofpU2jwT1Y=; b=WijvcpTMX0Wm2Z6pjfgvgyxIN4bIhOibUHNgy///PF0aT
hqODxZsWyBQ909F9FpRMOf7AMKiD19EJe4ImQ7y8HbE2eYrMU3lLjkjuTg5zK5S9
eJ+GLsezk36CzpAvljxKsWgwLKRSlvWLVI4xVzKJcKJyiByYpMKVsiKSnScgNI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=D*tlinx.org, cygwintlinxorg, cygwin AT tlinx DOT org, H*f:sk:57D1BF8
X-HELO: mail-oi0-f45.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=7vTpQuUgfIb2iUY2Oj/RBK9EsAB5MeO9ds16Yc9sKMg=; b=GsH2gmwxZUCekrnDbrJA6CYekdkG9fBoh/vvT1+4sB5Tx/425HZ2Y1VakDYerul+d9 iE8pqE47cjbwIQvQ9o8yUBM9/NF5CGrauYu6S0K7DBpB35Sp658H/MW9GwGRqEfTGfyi mjKW/0GyKOAYKqPPuA+gOlbwB5a8oJTv4iBSaGPx/aWE+qq5KMhBWaF+AhYYze+goQcl 30bopH5Z/1e5AqaDyvPuwQsZrhnAGlTCWrBl/lBl6oJWyQe4Pz1quR8i7I0aGWbp8a9d mjqctNIiIZ7zCEEcmDtzjxGO4tJR1qiugnRAsMn15IkeRu0IPSRKksot2PiPunBPvoV8 ChGA==
X-Gm-Message-State: AE9vXwNoOtxP22REPLJWV4T855/+fjnQaMUsbUKZNz/Rr6h41muGiE3av/gxIKszFFDUwOwqP1uxsRX2xoHurA==
X-Received: by 10.202.190.215 with SMTP id o206mr982226oif.76.1473377956292; Thu, 08 Sep 2016 16:39:16 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <57D1BF8E.8030401@tlinx.org>
References: <CAGedhddeona_jJH+B90tieBMdE6jrPV4EvwR0-MvpLfPeLtf4w AT mail DOT gmail DOT com> <1e1d6f27-5055-2fc5-0ab6-43e8489307a3 AT gmail DOT com> <CAGedhdd4wjFfrSzvKEDJURpVGPxNF5kdGmUudQB89bUnjevbPA AT mail DOT gmail DOT com> <57D1BF8E DOT 8030401 AT tlinx DOT org>
From: Carl <mutantllama AT gmail DOT com>
Date: Fri, 9 Sep 2016 09:39:15 +1000
Message-ID: <CAGedhde-i6zy481AQUvLstp93x-=UNG210ff1po3KvFB57EzMg@mail.gmail.com>
Subject: Re: Can you modify how Cygwin prepends domain name to username?
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Hi Linda,

The plus character is the default separator for mkpasswd.

In the help for it (mkpasswd -h), you will see

   -S,--separator char     For -L use character char as domain\user
                           separator in username instead of the default '+'.

Cheers,

Carl.



On 9 September 2016 at 05:44, Linda Walsh <cygwin AT tlinx DOT org> wrote:
> Carl wrote:
> ADUNSW+root:*:2149521262:2147484161:U-ADUNSW\root,
> S-1-5-21-1140405718-358989843-3445714273-2037614:/home/root:/bin/bash
> ---
> Where does the '+' come from?  Is that in Win10 or some newer domain
> control software?
>
> I'm running Windows 7, and cygwin uses the same naming conventions
> as the OS.  I.e. in Windows, outside of cygwin, my domain logins look like
> "Domain\user".  So in my /etc/passwd file, I see the same thing:
> Domain\user.
> I would be nervous to change the form in /etc/passwd to something
> different from the OS's name for the account, but it might make
> no difference.
> How does your local Win OS name such accounts?  I.e. if I use
> Process Hacker, it can show the user account for each process, as obtained
> from Windows.  It always shows Domain/user for the non-local users running
> programs.
>
>
>
> --
> 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
>

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019