On Sun, Dec 14, 2014 at 04:40:47PM +0000, Dag-Erling Smørgrav wrote: > Author: des > Date: Sun Dec 14 16:40:46 2014 > New Revision: 275768 > URL: https://svnweb.freebsd.org/changeset/base/275768 > > Log: > Add a vigr(8) utility which does for /etc/group what vipw(8) does for > /etc/master.passwd. > > Added: > head/usr.sbin/vigr/ > head/usr.sbin/vigr/Makefile (contents, props changed) > head/usr.sbin/vigr/vigr.8 (contents, props changed) > head/usr.sbin/vigr/vigr.sh (contents, props changed)
I wonder why you chose making a script instead of using libutil? gr_* have now the same level of features as of pw_* the benifit would have been to be able to share the code with vipw(8) (maybe just have vigr(8) a hardlink so vipw(8)) and to allow transparent change if one day he have a group db (aka gr_mkdb() is now a simple rename(2) but could be changed to generate a db like pw_mkdb() does). Best regards, Bapt
pgpPnnDOXmJAq.pgp
Description: PGP signature
