Can you modify how Cygwin prepends domain name to username?

Marco Atzeri marco.atzeri@gmail.com
Thu Sep 8 12:26:00 GMT 2016


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



More information about the Cygwin mailing list