/etc/group
group database file
Check the syntax of the group file
chkgrp [-q]
[groupfile]
The chkgrp utility scans the given file or, failing that, the system-wide group file for errors. Specifically, it checks that every non-blank, non-comment entry is composed of four colon-separated fields, that none of them contains whitespace, and that the third field (the group ID) is numeric. It will also check for invalid characters in the group names and group members. The following options are available:
-q
This option disables printing of text when the group format is correct.
/etc/group
group database file
The chkgrp utility returns EX_DATAERR if errors were found in the group file, and EX_OK otherwise.
For each error found, chkgrp will print an error message containing the name of the file being scanned and the line number on which the error was found.
77 releases since FreeBSD 3.0-RELEASE; the text changed 44 times.
-q since FreeBSD 9.2-RELEASE.