From owner-cvs-all@FreeBSD.ORG Thu Feb 28 04:25:04 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EFD5106566C; Thu, 28 Feb 2008 04:25:04 +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 03CB88FC1D; Thu, 28 Feb 2008 04:25:04 +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 m1S4P356063187; Thu, 28 Feb 2008 04:25:03 GMT (envelope-from scf@repoman.freebsd.org) Received: (from scf@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1S4P35B063186; Thu, 28 Feb 2008 04:25:03 GMT (envelope-from scf) Message-Id: <200802280425.m1S4P35B063186@repoman.freebsd.org> From: Sean Farley Date: Thu, 28 Feb 2008 04:25:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/usr.sbin/pw pw.8 pw.c pw_group.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2008 04:25:04 -0000 scf 2008-02-28 04:25:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/pw pw.8 pw.c pw_group.c Log: MFC: 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. src/usr.sbin/pw/pw.c: rev 1.32 -> 1.33 src/usr.sbin/pw/pw_group.c: rev 1.15 -> 1.16 src/usr.sbin/pw/pw.8: rev 1.42 -> 1.43 Approved by: wes (mentor) Revision Changes Path 1.41.2.2 +10 -0 src/usr.sbin/pw/pw.8 1.31.2.2 +2 -1 src/usr.sbin/pw/pw.c 1.14.18.2 +80 -15 src/usr.sbin/pw/pw_group.c