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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Fri, 13 Sep 2002 11:24:05 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "Harig, Mark A." cc: cygwin AT cygwin DOT com, "Rick Hellicar (QMP)" Subject: RE: mkpasswd takes 18 hours to finish! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Well, technically you'd use mkpasswd -l > /etc/passwd mkpasswd -d MY_DOMAIN -u MY_USER_ID >> /etc/passwd which should take much less than 18 hours (I hope). Igor On Fri, 13 Sep 2002, Harig, Mark A. wrote: > Normally you would use: > > mkpasswd -d MY_DOMAIN | grep MY_USER_ID >> /etc/passwd > > Of course, now that you have your passwd entry, > you should edit /etc/passwd and extract your > entry from the file, save it to a separate > file, discard /etc/passwd, regenerate it > using 'mkpasswd -l > /etc/passwd', and > add your entry to the new, smaller file. > > > -----Original Message----- > > From: Rick Hellicar (QMP) [mailto:Rick DOT Hellicar AT eml DOT ericsson DOT se] > > Sent: Friday, September 13, 2002 9:34 AM > > To: 'cygwin AT cygwin DOT com' > > Subject: mkpasswd takes 18 hours to finish! > > > > Hi people, > > > > I've been attempting to set up ssh, because, er..., it seems > > to be what everyone else is doing! > > > > Got to the "mkpasswd -d" stage, which listed a bunch of > > people that didn't include me, so I was explicit about the domain: > > > > mkpasswd -d MY_DOMAIN >> /etc/passwd > > > > And it proceeded to list 22,795 of my colleagues and the time > > it took was... > > real 1118m45.573s > > user 2m4.187s > > sys 2m23.515s > > > > Yep - over 18 hours for the command to finish! > > Can anyone beat that? > > > > Rick -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! It took the computational power of three Commodore 64s to fly to the moon. It takes a 486 to run Windows 95. Something is wrong here. -- SC sig file -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/