This is the mail archive of the
mailing list for the Cygwin project.
RE: mkpasswd takes 18 hours to finish!
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- 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>
- Date: Fri, 13 Sep 2002 11:24:05 -0400 (EDT)
- Subject: RE: mkpasswd takes 18 hours to finish!
- Reply-to: cygwin at cygwin dot com
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).
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.Hellicar@eml.ericsson.se]
> > Sent: Friday, September 13, 2002 9:34 AM
> > To: 'email@example.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
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.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