Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

chkgrp(8) [freebsd man page]

CHKGRP(8)						    BSD System Manager's Manual 						 CHKGRP(8)

NAME
chkgrp -- check the syntax of the group file SYNOPSIS
chkgrp [-q] [groupfile] DESCRIPTION
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. FILES
/etc/group group database file EXIT STATUS
The chkgrp utility returns EX_DATAERR if errors were found in the group file, and EX_OK otherwise. DIAGNOSTICS
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. SEE ALSO
getgrent(3), group(5) HISTORY
The chkgrp utility appeared in FreeBSD 3.0. AUTHORS
The 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>. BUGS
Should check the range of the group ID. BSD
May 26, 2005 BSD

Check Out this Related Man Page

GROUP(8)						    BSD System Manager's Manual 						  GROUP(8)

NAME
group -- manage group information on the system SYNOPSIS
group add [options] group group del [options] group group info [options] group group mod [options] group DESCRIPTION
The group utility acts as a frontend to the groupadd(8), groupmod(8), groupinfo(8), and groupdel(8) commands. The utilities by default are built with EXTENSIONS. This allows for further functionality. For a full explanation of the options available, please see the relevant manual page. EXIT STATUS
The group utility exits 0 on success, and >0 if an error occurs. SEE ALSO
group(5), groupadd(8), groupdel(8), groupinfo(8), groupmod(8) HISTORY
The group utility first appeared in NetBSD 1.5. It is based on the addnerd package by the same author. AUTHORS
The group utility was written by Alistair G. Crooks <agc@NetBSD.org>. BSD
November 7, 2005 BSD
Man Page