[PATCH] document automatic user group removal via pw userdel

Garrett Cooper gcooper at FreeBSD.org
Sat Jan 8 00:51:45 UTC 2011


Hi Hackers,
    The following is a really short patch commit request for updating
the manpage documentation for pw(8) to note that if I do the
following:

    pw user add foo
    pw user del foo

    It will remove the group foo, but if I do the following:

    pw user add foo
    pw user add bar -G foo
    pw user del foo

    It will retain the foo user group as the membership is non-zero.
This behavior is intuitive, but undocumented in the manpage as it
stands.
    Credits go to Karl Schumaker @ IronPort for the find.
Thanks,
-Garrett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pw-document-automatic-group-removal.patch
Type: text/x-patch
Size: 568 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20110108/b755ad13/pw-document-automatic-group-removal.bin


More information about the freebsd-hackers mailing list