Gecos field
From Wikipedia, the free encyclopedia
The gecos field, or GECOS field is an entry in the /etc/passwd file on Unix, and similar operating systems.
It is typically used to record general information about the account or its user(s) such as their real name and phone number.
Contents |
Format [edit]
The typical format for the GECOS field is a comma-delimited list[1][2] 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.)
In most of the UNIX systems this information can be changed by normal users using the chfn command from the shell.
History [edit]
Some early Unix systems at Bell Labs used GECOS machines for print spooling and various other services,[3] so this field was added to carry information on a user's GECOS identity.