X-Spam-Check-By: sourceware.org
Message-ID: <453645DD.6020408@cygwin.com>
Date: Wed, 18 Oct 2006 11:18:53 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Fedora/1.5.0.7-1.fc4.remi Thunderbird/1.5.0.7 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Installing Cygwin on XP laptop part of a domain
References: <026DCC31AB859648A6F16C0E5CD2580DADBFE5@calttsv025.cal.riotinto.org>
In-Reply-To: <026DCC31AB859648A6F16C0E5CD2580DADBFE5@calttsv025.cal.riotinto.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Billinghurst, David (CALCRTS) wrote:
>> From: Jay NYC
>>
>> Can someone who has experience installing Cygwin on a WinXP 
>> desktop part of a  Windows Domain let me know what to do? 
> 
> You need to create /etc/passwd and /etc/group files using 
> mkpasswd and mkgroup.
> 
> The domain I am in has around 3000 groups and lots of users.
> Enumerating all the users takes a while.
> 
> All I need to do is (something like):
> 
> mkgroup > /etc/group
> mkpasswd -l > /etc/passwd
> mkpasswd -d -u my_username >> /etc/passwd
> 
> The first mkpasswd adds the local accounts and the second 
> invocation adds my domain account.   mkpasswd --help for
> more details.
> 
> Then edit /etc/passwd and change your home directory a local
> path - perhaps /home/username.


There's a flag for 'mkpasswd' that let's you specify the home
directory you want directly.  Sorry, don't recall what it is
off-hand and don't have access to it to look right now.



-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

