From owner-cvs-src@FreeBSD.ORG Sat Feb 23 01:25:25 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E931916A402; Sat, 23 Feb 2008 01:25:25 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C59AD13C46A; Sat, 23 Feb 2008 01:25:25 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m1N1PPZN095125; Sat, 23 Feb 2008 01:25:25 GMT (envelope-from scf@repoman.freebsd.org) Received: (from scf@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1N1PPXu095124; Sat, 23 Feb 2008 01:25:25 GMT (envelope-from scf) Message-Id: <200802230125.m1N1PPXu095124@repoman.freebsd.org> From: Sean Farley Date: Sat, 23 Feb 2008 01:25:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/pw pw.8 pw.c pw_group.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2008 01:25:26 -0000 scf 2008-02-23 01:25:22 UTC FreeBSD src repository Modified files: usr.sbin/pw pw.8 pw.c pw_group.c Log: Add the groupmod '-d' option to pw to allow the deletion of existing users from a group without the need to perform the same operation by replacing the existing list via the '-M' option. The '-M' option requires someone to fetch the existing members with pw, deleting the undesired members from the list and sending the altered list back to pw. Approved by: wes (mentor) MFC after: 5 days Revision Changes Path 1.43 +10 -0 src/usr.sbin/pw/pw.8 1.33 +2 -1 src/usr.sbin/pw/pw.c 1.16 +80 -15 src/usr.sbin/pw/pw_group.c