[patch] '-d' option for pw to delete list of members from a group

Sean C. Farley scf at FreeBSD.org
Sat Jan 26 13:51:57 PST 2008


Currently, pw allows the deletion of members of a group by replacing the
current list with a new list ('-M' option).  This requires a person or
program to collect the list, remove members and send the new list to pw.

The patch[1] I wrote adds the '-d' option to groupmod to allow the
specific deletion of members from a group.  It is a bit old but applies
cleanly to HEAD and RELENG_7.  This was written while working on
BSDUpdates[2] some time ago.  It has just taken me awhile to make the
patch and find time to commit it.  :)

I hope to commit it soon if no one has any complaints.

Sean
   1. http://www.farley.org/freebsd/tmp/pw.patch
   2. http://bsdupdates.com/
-- 
scf at FreeBSD.org


More information about the freebsd-current mailing list