Date: Tue, 7 Aug 2001 10:08:55 +0200 From: =?iso-8859-1?Q?Bj=F6rn_T=F6rnqvist?= <bjorn.tornqvist@west.se> To: <freebsd-questions@freebsd.org> Subject: Speeding up account-adding? Message-ID: <013501c11f18$346fc1a0$0e00a8c0@bashful>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0132_01C11F28.F78ADBB0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, At work, we need to add 100k+ loginaccounts on a single system, but I've = found that after about 15k accounts it takes ~5 seconds to add it = (through pw useradd). My guess is that its the pwmkdb that is slowing things down at an = exponetial rate - anyone know how to fix this? Please reply to me as I'm not a member of the list. /Bjorn ____ Bj=F6rn T=F6rnqvist Software Engineer, Founder @ west.se Tel: +46 457 386295 Mobile: +46 733 31 21 31 ------=_NextPart_000_0132_01C11F28.F78ADBB0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4616.200" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>At work, we need to add 100k+ = loginaccounts on a=20 single system, but I've found that after about 15k accounts it takes ~5 = seconds=20 to add it (through pw useradd).</FONT></DIV> <DIV><FONT face=3DArial size=3D2>My guess is that its the pwmkdb that is = slowing=20 things down at an exponetial rate - anyone know how to fix = this?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Please reply to me as I'm not a member = of the=20 list.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>/Bjorn</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>____<BR>Bj=F6rn T=F6rnqvist<BR>Software = Engineer,=20 Founder @ west.se<BR>Tel: +46 457 386295<BR>Mobile: +46 733 31 21=20 31<BR></FONT></DIV></BODY></HTML> ------=_NextPart_000_0132_01C11F28.F78ADBB0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?013501c11f18$346fc1a0$0e00a8c0>