Overview#GidNumber (group identifier, often abbreviated to GID) is used in Unix Linux like and POSIX Operating Systems where multiple users can be put into groups.
POSIX and conventional UNIX File System permissions are organized into three classes, user, group, and others. The use of groups allows additional abilities to be delegated in an organized fashion, such as access to disks, printers, and other peripherals. This method, among others, also enables the superuser to delegate some administrative tasks to normal users, similar to the Administrators group on Microsoft Windows NT and its derivatives.
GidNumber (group identifier, often abbreviated to GID), is a Integer value used to represent a specific group. The range of values for a GID varies amongst different systems; at the very least, a GID can be between 0 and 32,767, with one restriction: the login group for the superuser must have GID 0. This numeric value is used to refer to groups in the /etc/passwd and /etc/group files or their equivalents. Shadow password files and Network Information Service also refer to numeric GIDs. The group identifier is a necessary component of Unix file systems and processes.
Reserved ranges#Many Linux systems reserve the GID number range 0 to 99 for statically allocated groups, and either 100−499 or 100−999 for groups dynamically allocated by the system in post-installation scripts. These ranges are often specified in /etc/login.defs, for useradd, groupadd and similar tools.
- 0: The superuser normally has a GID of zero (0).
- −1: The value (gid_t) -1 is reserved by POSIX to identify an omitted argument.
- 65,534: The Linux Kernel defaults to 216−2 = 65,534 (which many Linux distributions map to the group name "nogroup") when a 32-bit GID does not fit into the return value of a 16-bit system call. The value is also returned by idmapd if a group name in an incoming NFSv4 packet does not match any known group on the system.
- OID of 22.214.171.124.126.96.36.199
- NAME: GidNumber
- DESC: 'An integer uniquely identifying a group in an administrative domain'
- OBSOLETE flag (only if present)
- (only if present)
- EQUALITY: integerMatch
- ORDERING: integerOrderingMatch
- SYNTAX: 188.8.131.52.4.1.14184.108.40.206.27
- USAGE: UserApplications
- Extended Flags:
- Used as MUST in:
- Used MAY in:
More Information#There might be more information for this subject on one of the following:
- DIT Locations For NIS