This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Can you modify how Cygwin prepends domain name to username?
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