Gecos field
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.
Format
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
- Home telephone number
- Any other contact information (pager number, fax, external e-mail address, etc.)
In most UNIX systems non-root users can change their own information using the chfn or chsh command.
History
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.
Other uses
On Internet Relay Chat (IRC), the real name field is commonly referred to as the gecos field.
See also
References
This article is issued from Wikipedia - version of the 10/15/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.