delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/08/15:44:37

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=auvjkunNRoK6iGhGRrpF05hWH3jgeewczikuDYq+xvI
18T3/UB5RnTkahxToAO9AxGCYghQG6UTK4An3Jpv1mPFXIvL6HyKDnfc+2kfAARO
SmmixsF5F4g4qjBxL1p3R6kpfuQ7jWgqVljv2G6JGUZIEZ5C6bX0Hp32DO7zQuHg
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=VlNyXM+YdqFwbI6JnES0vddK7J8=; b=Fsoug0Z/f+rXaYuOm
cFV5eTDrzGnjFJ9bYpgOYMXtkek5/2PSzd0S338Y+YiTJdfm7dV2PPQzrih+NXV2
ovLKanN088orTNsRY9zejNwdZXYcUnOFSJ8Rld0iOt3usJXOAY2da/4Yu9xcZpuL
BTd9NnZlH++fCDXjIgfecVcwO0=
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=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*r:192.168.3, win10, Win10, oss
X-HELO: Ishtar.sc.tlinx.org
Message-ID: <57D1BF8E.8030401@tlinx.org>
Date: Thu, 08 Sep 2016 12:44:14 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Can you modify how Cygwin prepends domain name to username?
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>
In-Reply-To: <CAGedhdd4wjFfrSzvKEDJURpVGPxNF5kdGmUudQB89bUnjevbPA@mail.gmail.com>
X-IsSubscribed: yes

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

- Raw text -


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