delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/18/11:19:23

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 AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT 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 AT cygwin DOT com
Subject: Re: Installing Cygwin on XP laptop part of a domain
References: <026DCC31AB859648A6F16C0E5CD2580DADBFE5 AT calttsv025 DOT cal DOT riotinto DOT org>
In-Reply-To: <026DCC31AB859648A6F16C0E5CD2580DADBFE5@calttsv025.cal.riotinto.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019