GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CHKGRP (8)

NAME

chkgrp - check the syntax of the group file

CONTENTS

Synopsis
Description
Files
Exit Status
Diagnostics
See Also
History
Authors
Bugs

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
.Fx 3.0 .

AUTHORS


.An -nosplit The chkgrp utility and this manual page were written by
.An Dag-Erling Sm\(/orgrav Aq des@FreeBSD.org . Further functionality was added by
.An Liam J. Foy Aq liamfoy@dragonflybsd.org .

BUGS

Should check the range of the group ID.
Search for    or go to Top of page |  Section 8 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.