Mail Archives: cygwin/2002/09/13/11:24:21
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 -