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.
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.)
- OID of 188.8.131.52.184.108.40.206
- NAME: Gecos
- DESC: 'The GECOS field; the Common Name'
- EQUALITY: caseIgnoreMatch
- SUBSTR: caseIgnoreSubstringsMatch
- SYNTAX: 220.127.116.11.4.1.1418.104.22.168.15 Directory (Case Ignore) String
- USAGE: UserApplications
- Extended Flags:
- Used as MUST in:
- Used MAY in: