From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75385 invoked by alias); 8 Sep 2016 23:39:29 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 75371 invoked by uid 89); 8 Sep 2016 23:39:28 -0000 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@tlinx.org, H*f:sk:57D1BF8 X-HELO: mail-oi0-f45.google.com Received: from mail-oi0-f45.google.com (HELO mail-oi0-f45.google.com) (209.85.218.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 08 Sep 2016 23:39:18 +0000 Received: by mail-oi0-f45.google.com with SMTP id x125so46212075oia.3 for ; Thu, 08 Sep 2016 16:39:18 -0700 (PDT) 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 Received: by 10.157.41.205 with HTTP; Thu, 8 Sep 2016 16:39:15 -0700 (PDT) In-Reply-To: <57D1BF8E.8030401@tlinx.org> References: <1e1d6f27-5055-2fc5-0ab6-43e8489307a3@gmail.com> <57D1BF8E.8030401@tlinx.org> From: Carl Date: Thu, 08 Sep 2016 23:39:00 -0000 Message-ID: Subject: Re: Can you modify how Cygwin prepends domain name to username? To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00141.txt.bz2 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 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