|
ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages
|
|
This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles. For more information about the manual page format, see the manual page for manpages(5). |
CHECKGID(1) BSD General Commands Manual CHECKGID(1)
NAME
checkgid -- validate group identifiers
SYNOPSIS
checkgid gid
DESCRIPTION
Given one or more group identifers on the command line (e.g., "httpd" or "#-1"), figure out whether
they'll be valid for the server to use at run-time.
If a groupname isn't found, or we can't setgid() to it, return -1. If all groups are valid, return 0.
This may need to be run as the superuser for the setgid() to succeed; running it as any other user may
result in a false negative.
SEE ALSO
httpd(1)
BSD September 10, 2004 BSD
|
|