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 13:17:00 -0000	[thread overview]
Message-ID: <CAGedhdd4wjFfrSzvKEDJURpVGPxNF5kdGmUudQB89bUnjevbPA@mail.gmail.com> (raw)
In-Reply-To: <1e1d6f27-5055-2fc5-0ab6-43e8489307a3@gmail.com>

Thanks for the quick response Marco.

I have been doing that as a work around. However I have been getting
some inconsistent behavior, for example a couple of times bash has
reverted to the id of ADUNSW+root and has had to be restarted.

Are there any other knobs to tweak?

Cheers,

Carl.

On 8 September 2016 at 22:26, Marco Atzeri <marco.atzeri@gmail.com> wrote:
> On 08/09/2016 14:14, Carl wrote:
>>
>> Hi folks,
>>
>> Is is posible to modify the behavior of how Cygwin prepends a domain
>> name to a username?
>>
>> I need to setup GPFS in an environment where the PC is a member of one
>> domain and the user that the sshd service will run as is a member of a
>> different domain.
>> There is a trust relationship between the domains, however the user
>> has its domain name prepended and this breaks things for setting up
>> GPFS.
>>
>> ie:
>> ADUNSW+root@gpfs2-pc:~ $ mkpasswd.exe -c
>>
>> ADUNSW+root:*:2149521262:2147484161:U-ADUNSW\root,S-1-5-21-1140405718-358989843-3445714273-2037614:/home/root:/bin/bash
>>
>> I welcome any suggestions on how I might be able to work around this?
>>
>> Thanks,
>>
>> Carl.
>>
>
>
> mkpasswd.exe -c > /etc/passwd
>
> and change in /etc/passwd the user name "ADUNSW+root" to what you want.
>
> Regards
> Marco
>
> --
> 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 13:17 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 [this message]
2016-09-08 19:44     ` Linda Walsh
2016-09-08 23:39       ` Carl
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=CAGedhdd4wjFfrSzvKEDJURpVGPxNF5kdGmUudQB89bUnjevbPA@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).