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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=FhMy6HgR0DU5IMx2 xkc7ajadJKePH47CFZA3mgjtHWLU/1xwyFjmEcs54l1jZIDjgGWUdInnwfpt/fA3 HO4X/X7DvCqLl2KMIfbymkzYgeLX9aMhClxvQGKnQEgfVbt4vbCKX+GeeclahE0T PDqPWjH9ObwScnIOWk/pNE3gu6c= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=5trKva55siPYQ3QnF9Fhso nkot0=; b=s2B2nFHRYIIvokuQLBLBy/eFG0HtdnmgrTJABUi6sjNZ7hnayGzjeD CU33Nk3DQS6+rRnMKhp5LE4fkqM9d1/sw573ik5vqpA8V6g9UQRHbDj3wPIhisGh I4MRyl03fZJJpQqzNRLt3ZWIU20c6LxXtZEBi+ZtW54k3GgfqWD5o= 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.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 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) Subject: Re: Can you modify how Cygwin prepends domain name to username? To: cygwin AT cygwin DOT com References: From: Marco Atzeri Message-ID: <1e1d6f27-5055-2fc5-0ab6-43e8489307a3@gmail.com> Date: Thu, 8 Sep 2016 14:26:25 +0200 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 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