From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20807 invoked by alias); 8 Sep 2016 13:17:42 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 20794 invoked by uid 89); 8 Sep 2016 13:17:41 -0000 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.atzeri@gmail.com X-HELO: mail-oi0-f43.google.com Received: from mail-oi0-f43.google.com (HELO mail-oi0-f43.google.com) (209.85.218.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 08 Sep 2016 13:17:31 +0000 Received: by mail-oi0-f43.google.com with SMTP id m11so69873043oif.1 for ; Thu, 08 Sep 2016 06:17:31 -0700 (PDT) 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 Received: by 10.157.41.205 with HTTP; Thu, 8 Sep 2016 06:17:29 -0700 (PDT) In-Reply-To: <1e1d6f27-5055-2fc5-0ab6-43e8489307a3@gmail.com> References: <1e1d6f27-5055-2fc5-0ab6-43e8489307a3@gmail.com> From: Carl Date: Thu, 08 Sep 2016 13:17:00 -0000 Message-ID: Subject: Re: Can you modify how Cygwin prepends domain name to username? To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00135.txt.bz2 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@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