Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

checkgid(8) [linux man page]

CHECKGID(8)						      System Manager's Manual						       CHECKGID(8)

NAME
checkgid - checks the gid SYNOPSIS
checkgid group DESCRIPTION
This manual page documents briefly the checkgid command. checkgid is a program that checks whether it can setgid to the group specified. This is to see if it is a valid group for apache2 to use at runtime. If the user (should be run as superuser) is in that group, or can setgid to it, it will return 0. AUTHOR
This manual page was written by Daniel Stone <daniel@sfarc.net> for the Debian GNU/Linux distribution, as the original did not have a man- page. November 3rd, 2001 CHECKGID(8)

Check Out this Related Man Page

SETGID(2)						     Linux Programmer's Manual							 SETGID(2)

NAME
setgid - set group identity SYNOPSIS
#include <sys/types.h> #include <unistd.h> int setgid(gid_t gid); DESCRIPTION
setgid() sets the effective group ID of the calling process. If the caller is the superuser, the real GID and saved set-group-ID are also set. Under Linux, setgid() is implemented like the POSIX version with the _POSIX_SAVED_IDS feature. This allows a set-group-ID program that is not set-user-ID-root to drop all of its group privileges, do some un-privileged work, and then reengage the original effective group ID in a secure manner. RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately. ERRORS
EPERM The calling process is not privileged (does not have the CAP_SETGID capability), and gid does not match the real group ID or saved set-group-ID of the calling process. CONFORMING TO
SVr4, POSIX.1-2001. SEE ALSO
getgid(2), setegid(2), setregid(2), capabilities(7), credentials(7) COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2009-10-17 SETGID(2)
Man Page

5 More Discussions You Might Find Interesting

1. Solaris

Apache config issue

I want to build a little website on a Sun Blade 100 running Solaris 10. I just went out to apache.org and downloaded Unix Source: httpd-2.2.8.tar.gz After unpacking the tarball, I CD'd into the subdirectory and ran the configure utility. Of course, it crapped out. I see that it is... (17 Replies)
Discussion started by: BrewDudeBob
17 Replies

2. Solaris

problem compiling apache on solaris

Hi I'm trying to install apache 2.2.14 on Solaris with Openssl. I'm using following configure options: ./configure --prefix=/usr/local/apache2 --enable-ssl --enable-module=so --enable-proxy=shared --enable-proxy-http=shared --enable-proxy-ajp=shared --with-ssl=/usr/local/openssl ... (3 Replies)
Discussion started by: Aelfric
3 Replies

3. UNIX for Dummies Questions & Answers

prepare a tar package

I have installed apache2 on Solaris machine with the binary. So i dont want to install the same binary across all the systems but only want to copy the lib files and the files which have been updated in this installation process. So in order to get those lib files and then prepare a tar package... (5 Replies)
Discussion started by: prash358
5 Replies

4. Solaris

Build the apache binary centrally.

Hi, Generally we will run to install, configure apache 2.x on Solaris machine, but dont want to follow these on the remaining machines. I want to build the apache binary centrally, so that i can untar the tar file on remaining machines. Please suggest on how to prepare this file and when i... (12 Replies)
Discussion started by: prash358
12 Replies

5. UNIX for Advanced & Expert Users

AIX 7.1 gcc 4.8.5 issue

hey guys , after migrate our AIX server from 6.1 to 7.1 , we insalled c compilator with rpm files Server:root:/ > rpm -qa | grep gcc libgcc-4.8.5-1 gcc-cpp-4.8.5-1 gcc-4.8.5-1 gcc-c++-4.8.5-1 but whene we proceed to compile a c programm we have this error exec(): 0509-036... (17 Replies)
Discussion started by: yahia
17 Replies