From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103404 invoked by alias); 8 Sep 2016 12:26:50 -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 103395 invoked by uid 89); 8 Sep 2016 12:26:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*i:sk:B90tieB, H*f:sk:CAGedhd, H*f:sk:B90tieB, H*i:sk:CAGedhd X-HELO: mail-wm0-f47.google.com Received: from mail-wm0-f47.google.com (HELO mail-wm0-f47.google.com) (74.125.82.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 08 Sep 2016 12:26:49 +0000 Received: by mail-wm0-f47.google.com with SMTP id w12so85958907wmf.0 for ; Thu, 08 Sep 2016 05:26:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=OrBe5JUNiXI1zJaHXMDi4RlHwxf42JBrrbOE8uaUK54=; b=l3P3pfnE34B2tV3r7pWves7AH3bsFwavP+W4z2BStOfqnKNC7503wpDy8+GYjysAG9 WfmE2Qk+xpLHlfJqInDbq09VQ1a4+yNqJAF5ryAwdc+QMaOg0Pw6JMpNOMIRez+snEF+ owV/bylcucVAp1o8lGGHg4AWmjIeOTRuUdqu+aWTdzmh0RGeBe31x6txccQycEy4c1Td b+fDF6QavlYMQFDK6KwNTscFWZJfT85ZeXexk79IJu744aobn3jUxsujcCyKfSlQ9QvS pFt+qm6nYT4m4DGdA2dn29TQPP1en0gPV28EjpQlg+wGALeWpqnFGFoJ7+XXqWDqwFLu GoGg== X-Gm-Message-State: AE9vXwPiKGOrMhDEZeP9KLVaBd9TDsCVMPpjBkqmHwG0Ce8aZh3WT0Z9pvA3R+JBklvARA== X-Received: by 10.194.200.198 with SMTP id ju6mr45820195wjc.184.1473337606898; Thu, 08 Sep 2016 05:26:46 -0700 (PDT) Received: from [172.21.188.226] ([62.154.173.198]) by smtp.googlemail.com with ESMTPSA id 123sm9455449wmj.5.2016.09.08.05.26.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Sep 2016 05:26:46 -0700 (PDT) Subject: Re: Can you modify how Cygwin prepends domain name to username? To: cygwin@cygwin.com References: From: Marco Atzeri Message-ID: <1e1d6f27-5055-2fc5-0ab6-43e8489307a3@gmail.com> Date: Thu, 08 Sep 2016 12:26:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00132.txt.bz2 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