From owner-freebsd-bugs Thu Feb 17 16:50: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 54D8537B8B9 for ; Thu, 17 Feb 2000 16:50:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA75341; Thu, 17 Feb 2000 16:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 922C237B814 for ; Thu, 17 Feb 2000 16:41:55 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA74820; Thu, 17 Feb 2000 16:41:55 -0800 (PST) (envelope-from nobody@FreeBSD.org) Message-Id: <200002180041.QAA74820@freefall.freebsd.org> Date: Thu, 17 Feb 2000 16:41:55 -0800 (PST) From: oui@jps.net To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/16798: rmuser rebuilds entire passwd datebase for single user Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16798 >Category: bin >Synopsis: rmuser rebuilds entire passwd datebase for single user >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 17 16:50:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Set Birkholz >Release: FreeBSD 3.2-19990702-STABLE #3 >Organization: >Environment: >Description: rmuser rebuilds entire database for passwd with rmuser. On our system this takes about 5-10 minutes (ugh) Excuse the bug if its already been addressed >How-To-Repeat: try rmuser >Fix: change system('/usr/sbin/pwd_mkdb', '-p', ${new_passwd_file}); to system('/usr/sbin/pwd_mkdb', '-u', ${login_name}, '-p', ${new_passwd_file}); in /usr/sbin/rmuser >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message