public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Carl <mutantllama@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Can you modify how Cygwin prepends domain name to username?
Date: Thu, 08 Sep 2016 23:39:00 -0000	[thread overview]
Message-ID: <CAGedhde-i6zy481AQUvLstp93x-=UNG210ff1po3KvFB57EzMg@mail.gmail.com> (raw)
In-Reply-To: <57D1BF8E.8030401@tlinx.org>

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@tlinx.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

  reply	other threads:[~2016-09-08 23:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-08 12:14 Carl
2016-09-08 12:26 ` Marco Atzeri
2016-09-08 13:17   ` Carl
2016-09-08 19:44     ` Linda Walsh
2016-09-08 23:39       ` Carl [this message]
2016-09-09  4:28         ` Linda Walsh
2016-09-09 10:47         ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGedhde-i6zy481AQUvLstp93x-=UNG210ff1po3KvFB57EzMg@mail.gmail.com' \
    --to=mutantllama@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).