From owner-freebsd-bugs Fri Mar 8 9:44: 7 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mail.a-znet.com (mail.a-znet.com [209.105.176.24]) by hub.freebsd.org (Postfix) with ESMTP id 5864E37B419 for ; Fri, 8 Mar 2002 09:44:03 -0800 (PST) Received: from ishell-new.eznet.net (ishell-new.eznet.net [209.105.154.5]) by mail.a-znet.com (8.9.3/8.9.3) with ESMTP id MAA28754 for ; Fri, 8 Mar 2002 12:43:55 -0500 Date: Fri, 8 Mar 2002 12:43:51 -0500 (EST) From: Daniel Sickels To: freebsd-bugs@FreeBSD.ORG Subject: bug in pw, freebsd 4.5 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Multiple instances of pw making chanegs at the same time cause some rather horrid things to happen. The master.passwd file can be quite badly corrupted, or pwd_mkdb can fail. This bug is easily reproducable with a 10000+ line master.passwd, using: pw useradd test1; pw userdel test1 ten times over in one process, and pw useradd test2; pw userdel test2 ten times over at the same time. -- Dan Sickels Network Operations eNVIZION INTERNET SOLUTIONS GROUP LTD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message