www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/06/16:25:25

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: mkpasswd -l -d completed after 5 days
Date: Thu, 6 Mar 2008 13:24:44 -0800
Message-ID: <70952A932255A2489522275A628B97C3064C4ACF@xmb-sjc-233.amer.cisco.com>
In-Reply-To: A<loom.20080305T103058-349@post.gmane.org>
References: A<loom DOT 20080305T103058-349 AT post DOT gmane DOT org>
From: "Matt Seitz (matseitz)" <matseitz AT cisco DOT com>
To: <cygwin AT cygwin DOT com>
Authentication-Results: sj-dkim-1; header.From=matseitz AT cisco DOT com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; );
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m26LP6cA026517

> From: Marc Girod 
> 
> I started a 'mkpasswd -d -l > passwd.ld' process last Friday 
> around 15:30, and this one completed today (Wednesday) at 8:42.
> The size of the file produced is 3 MB, or 20142 lines.

I ran into similar problems with "mkpasswd" taking a long time on a large Active Directory (AD) domain.  I worked around the issue using the following procedure:

1.  Use "mkpasswd -l -c > /etc/passwd" to just add your machine's local user accounts and your personal AD user account to Cygwin's "/etc/passwd". 
2.  If you need to add additional domain users you can use "mkpasswd -d -u user_name >> /etc/passwd ". 

Likewise you can use "mkgroup -l -c > /etc/group" to add your local groups and your personal AD group to "/etc/group", and "mkgroup -d -g group_name >> /etc/group" to add individual AD domain groups. 

Run "man mkpasswd" and "man mkgroup", or see http://cygwin.com/cygwin-ug-net/using-utils.html#mkpasswd and http://cygwin.com/cygwin-ug-net/using-utils.html#mkgroup for more details. 



--
Matt Seitz
Manager, File System Virtualization
Cisco Systems, Inc.
.:|:.:|:.  

--
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