Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Reply-To: Cygwin List Message-Id: <6.2.1.2.0.20050610094501.0725cc20@pop.prospeed.net> Date: Fri, 10 Jun 2005 09:55:09 -0400 To: Roy Wiseman , cygwin AT cygwin DOT com From: Larry Hall Subject: RE: passwd & group file problems ? In-Reply-To: <20050610085653.74630.qmail@web25208.mail.ukl.yahoo.com> References: <20050610085653 DOT 74630 DOT qmail AT web25208 DOT mail DOT ukl DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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) ? Look at '/etc/postinstall/passwd-grp.sh.done'. This is the postinstall script that's run to generate '/etc/passwd' and '/etc/group' initially during install. Then take a look at 'man mkpasswd' and 'man mkgroup' to get a better understanding of the switches you see used there. 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. -- 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/