Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by www.NetBSD.org (Postfix) with ESMTP id 8554B63BBEC for ; Wed, 4 May 2011 22:27:00 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 4C2FB14A13A; Wed, 4 May 2011 22:27:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8177014A127 for ; Wed, 4 May 2011 22:26:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 8XXWrTvaqw21 for ; Wed, 4 May 2011 22:26:56 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id AC11614A0FE for ; Wed, 4 May 2011 22:26:56 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 5FFAF175DD; Wed, 4 May 2011 22:26:56 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Wed, 4 May 2011 22:26:56 +0000 From: "Greg Troxel" Subject: CVS commit: pkgsrc/sysutils/ir-account To: pkgsrc-changes@NetBSD.org Reply-To: gdt@netbsd.org X-Mailer: log_accum Message-Id: <20110504222656.5FFAF175DD@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: gdt Date: Wed May 4 22:26:56 UTC 2011 Modified Files: pkgsrc/sysutils/ir-account: Makefile distinfo Log Message: Update to 0.2. (Changes are due to Richard Hansen of BBN.) New in Version 0.2 (released 2011-04-15): * Bug fixes: + extract-account: - account extraction left temp files if authorized_keys had the uchg flag set - if the user didn't actually exist, a bogus tarball would be created anyway + install-account: - the home directory was assumed to be /home/${USER}, which meant that root's files weren't installed properly - If the user already existed, the order of entries in the passwd database wasn't preserved. This caused problems with root accounts because getpwuid(0) started returning the passwd entry for the 'toor' user (breaking "are you root?" tests in various scripts). + sudo-add: - if sudo-add couldn't find the sudoers file or couldn't read it, it didn't remove existing entries when adding or removing a user (adding duplicate entries if adding a user that was already there, and silently failing when removing a user) - if sudo-add could find and read the sudoers file: * it would remove the wrong existing entry if the username of the user being added/removed started with the same characters as another user higher in the sudoers file (e.g., adding or removing foo would remove user foobar if foobar was higher in the sudoers file) * 'sudo-add -r' would only remove the first instance of a user from sudoers (a particular problem given the above bug) - sudo-add wasn't preserving order if the user was already in sudoers (order can be significant in sudoers) * Less verbose output. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/ir-account/Makefile cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/sysutils/ir-account/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.