Query: chkgrp
OS: freebsd
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CHKGRP(8) BSD System Manager's Manual CHKGRP(8)NAMEchkgrp -- check the syntax of the group fileSYNOPSISchkgrp [-q] [groupfile]DESCRIPTIONThe 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.FILES/etc/group group database fileEXIT STATUSThe chkgrp utility returns EX_DATAERR if errors were found in the group file, and EX_OK otherwise.DIAGNOSTICSFor 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.SEE ALSOgetgrent(3), group(5)HISTORYThe chkgrp utility appeared in FreeBSD 3.0.AUTHORSThe chkgrp utility and this manual page were written by Dag-Erling Smorgrav <des@FreeBSD.org>. Further functionality was added by Liam J. Foy <liamfoy@dragonflybsd.org>.BUGSShould check the range of the group ID.BSDMay 26, 2005 BSD
Related Man Pages |
---|
grpck(1b) - sunos |
chgrp(1) - freebsd |
group(5) - freebsd |
grpck(1b) - minix |
grpck(1b) - osx |
Similar Topics in the Unix Linux Community |
---|
Script issues |