diff options
| author | Sean Farley <scf@FreeBSD.org> | 2008-02-23 01:25:22 +0000 |
|---|---|---|
| committer | Sean Farley <scf@FreeBSD.org> | 2008-02-23 01:25:22 +0000 |
| commit | 6f86094030fd6ec916f5aaa86ececd7fb5d96228 (patch) | |
| tree | 33cc0b8ab714094961a2064c522903a22bcae2a1 /pw/pw.8 | |
| parent | 0f2cd15af6b03e178b23fdd07c57c6775fb28cb8 (diff) | |
| download | pw-darwin-6f86094030fd6ec916f5aaa86ececd7fb5d96228.tar.gz pw-darwin-6f86094030fd6ec916f5aaa86ececd7fb5d96228.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.8 | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |
