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 <[email protected]> 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

