delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/13/11:24:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 13 Sep 2002 11:24:05 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Harig, Mark A." <maharig AT idirect DOT net>
cc: cygwin AT cygwin DOT com, "Rick Hellicar (QMP)" <Rick DOT Hellicar AT eml DOT ericsson DOT se>
Subject: RE: mkpasswd takes 18 hours to finish!
In-Reply-To: <BADF3C947A1BD54FBA75C70C241B0B9E762F0E@ex02.idirect.net>
Message-ID: <Pine.GSO.4.44.0209131122160.19696-100000@slinky.cs.nyu.edu>
MIME-Version: 1.0

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/

- Raw text -


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