delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/10/10:19:03

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.2.1.2.0.20050610101619.0725b1a8@pop.prospeed.net>
Date: Fri, 10 Jun 2005 10:18:36 -0400
To: "Dave Korn" <dave DOT korn AT artimi DOT com>, "'Cygwin List'" <cygwin AT cygwin DOT com>
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: RE: passwd & group file problems ?
In-Reply-To: <SERRANOWY9IuXZ2y2Fk000003c3@SERRANO.CAM.ARTIMI.COM>
References: <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050610094501 DOT 0725cc20 AT pop DOT prospeed DOT net> <SERRANOWY9IuXZ2y2Fk000003c3 AT SERRANO DOT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0

At 10:12 AM 6/10/2005, you wrote:
>----Original Message----
>>From: Larry Hall
>>Sent: 10 June 2005 14:55
>
>> At 04:56 AM 6/10/2005, you wrote:
>>>>>> Did you run "mkpasswd -c -l", like I told you?
>>> 
>>> yep, do you mean -c or -d here ? I've done both, -d is
>>> taking forever to resolve, -c does resolve, but I
>>> still get the same incorrect logon when i do -c with mkpasswd and
>>> mkgroup. 
>>> 
>>> the commands are running, and I see how things should
>>> go I think, but i'm still left wondering, how can
>>> setup.exe do in 1 minute what mkpasswd -d -l >
>>> /etc/passwd is looking to take days or weeks to
>>> complete (there seriously are 10's of thousands of
>>> users on that emea domain so it would take forever at
>>> the speed I was seeing) ?
>
>> If there is more than 1 domain but you only care about one, you can
>> specify that domain name with '-d' and speed things up a bit.  But if
>> you need all users from all domains, you're stuck with your slow domain.
>
>
>  Since Roy is installing cygwin to a whole load of machines, and assuming
>that they're all in the same domain, it ought to be possible to run
>"mkpasswd -d >domain-passwd" and "mkgroup -d >domain-group" just once each,
>bundle the two output files up along with the rest of the distribution he's
>been installing, then on each new machine, after installing, you'd run a
>little script like
>
>mkpasswd -l > /etc/passwd
>mkgroup -l > /etc/group
>cat domain-passwd >> /etc/passwd
>cat domain-group >> /etc/group
>
>  That ought to speed up the per-machine install time quite nicely,
>shouldn't it?  Or is there some reason it wouldn't work?


Not that I can see.  I'm not sure whether or not Roy's "complaint" was
aimed at the time it takes to do this once or a lamenting of how this 
will slow down a multi-machine rollout in the same domain.  I responded
as if it were the former.  But if it's the latter, your response is more
suitable.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (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