Overview#
Gecos stands for General Electric Comprehensive Operating Supervisor.The GECOS field in POSIX was created to hold non-unix attributes required by the GE COS operating system, because Denis Ritchie and Ken Thompson could not afford a printer, and had to print through a GCOS system, which required user attributes Unix does not use. Those attributes were stuffed into the GECOS field.
Today the GECOS field is subfielded, holding multiple data items, which might include the common name associated with the user of a POSIX account, as well as things like office location, extension, and home phone.
Tools like
- finger
- chfn
- adduser
The typical format for the GECOS field is a comma-delimited list with this order:
- User's full name (or application name, if the account is for a program)
- Building and room number or contact person
- Office telephone number
- Any other contact information (pager number, fax, etc.)
LDAP Attribute Definition#
The Gecos AttributeTypes is defined as:- OID of 1.3.6.1.1.1.1.2
- NAME: Gecos
- DESC: 'The GECOS field; the Common Name'
- EQUALITY: caseIgnoreMatch
- SUBSTR: caseIgnoreSubstringsMatch
- ORDERING:
- SYNTAX: 1.3.6.1.4.1.1466.115.121.1.15 Directory (Case Ignore) String
- SINGLE-VALUE
- USAGE: UserApplications
- Extended Flags:
- Used as MUST in:
- Used MAY in: