X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=jqwHCn7 hjia8AQyIVScoYlxIwwSgMY4DpFrBJpN65A/RHzNKwu96+57NgdmNyZqUbrZGma8 CNpu2XCi+ZqnbmDc8a+yYaO3uEJ8UqDTZEV1L8GgHJknP4wgRpWY0/7uS35t1RxE kQ6PioKMMfKBZCxbQXuvQcl2Cgmx5mECilAo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=9/JRUNhdTvSyo ItzyFUpwxXpk6I=; b=QeA3cS211wIxrzAfvz4QfMQdTpzJ55kHlBsC073JHois2 ev5U8JXhZHC+XyULkxdKCzsnwUkmKCuUObT/FXDeH01LBDlZUIXUyuWlYnqPGHhy U0d2jnT02YzAoIPX+nRndDc0jmA53YAg6BdpcrxpQqafzoS6JEu5NEY4CX7grQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=sk:marco.a, sk:marcoa, U*marco.atzeri, marco DOT atzeri AT gmail DOT com X-HELO: mail-oi0-f43.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=t0NK1GIl07dCRMRoY/rs9X1TWBTpd282AcJw/LwiyBE=; b=Mji+gE/m/8CiuBjryCf0fzWjWavM221QFciyRqdlTSOdK38tK1EO3PinM0yp5aQYs9 RQhX6PtgrYPBAzbT2LZKyr7aHqAJEnupmPkN4VpgA7xiEHd3qYt/ktdNr5/CqJlUSPcs grC5Lkz+aoj5tYY324vmfNV9ffzXA7g5Fh8+nf7lZ8EQ3NOxEvAvgju2Vuf4EUIVUXHk dMv5j4xBBgLL7fsaWDXdj6ngdcxwV0RlRS45HnC0MuTIhIhUC3PH+QZDBJDy1P87Rd9n z8bRshEoNivBnatKt3WeO0GgNeXXFnFQGLKLBjOvgcA0cSA2Uuig/h2zq1/huLjGxQmc fMOw== X-Gm-Message-State: AE9vXwPvYSxuj2wnJ65uQH8KHxR8HUFYx7nSBuB2loMiCg9PrsijNu26dGH+tszXZ44FDOFRzaLSGhUVm/N2/Q== X-Received: by 10.202.71.199 with SMTP id u190mr18522134oia.35.1473340649887; Thu, 08 Sep 2016 06:17:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1e1d6f27-5055-2fc5-0ab6-43e8489307a3@gmail.com> References: <1e1d6f27-5055-2fc5-0ab6-43e8489307a3 AT gmail DOT com> From: Carl Date: Thu, 8 Sep 2016 23:17:29 +1000 Message-ID: Subject: Re: Can you modify how Cygwin prepends domain name to username? To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes 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 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 AT 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