summaryrefslogtreecommitdiffstats
path: root/pw/pw.8
diff options
context:
space:
mode:
authorSean Farley <scf@FreeBSD.org>2008-02-23 01:25:22 +0000
committerSean Farley <scf@FreeBSD.org>2008-02-23 01:25:22 +0000
commit14adf1693e6ac259fe83515489e9761ddb607a9d (patch)
treefb378a5a2d4843cc487a3ddd7057ac1ded6be64b /pw/pw.8
parent6bd94e3955aed67d5ee599170607d9a8c0dd07ca (diff)
downloadpw-darwin-14adf1693e6ac259fe83515489e9761ddb607a9d.tar.gz
pw-darwin-14adf1693e6ac259fe83515489e9761ddb607a9d.tar.zst
pw-darwin-14adf1693e6ac259fe83515489e9761ddb607a9d.zip
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
Diffstat (limited to 'pw/pw.8')
-rw-r--r--pw/pw.810
1 files changed, 10 insertions, 0 deletions
diff --git a/pw/pw.8 b/pw/pw.8
index 82f010b..4287055 100644
--- a/pw/pw.8
+++ b/pw/pw.8
@@ -155,6 +155,7 @@
.Op Fl l Ar name
.Op Fl M Ar members
.Op Fl m Ar newmembers
+.Op Fl d Ar oldmembers
.Op Fl h Ar fd | Fl H Ar fd
.Op Fl N
.Op Fl P
@@ -779,6 +780,15 @@ of existing users to a group without replacing the existing list of
members.
Login names or user ids may be used, and duplicate users are
silently eliminated.
+.It Fl d Ar oldmembers
+Similar to
+.Fl M ,
+this option allows the
+.Em deletion
+of existing users from a group without replacing the existing list of
+members.
+Login names or user ids may be used, and duplicate users are
+silently eliminated.
.El
.Pp
.Ar groupadd