svn commit: r275768 - in head/usr.sbin: . vigr

Baptiste Daroussin bapt at FreeBSD.org
Sat Dec 20 13:51:31 UTC 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20141220/5be9735c/attachment.sig>


More information about the svn-src-all mailing list