ACE-P-ALE1-04 practice question 22 of 35
Where did the GECOS field in /etc/passwd come from?
Full set: 100 questionsThe GECOS field in the /etc/passwd file originated in the early days of Unix at Bell Labs. Unix systems were connected to a General Electric 635 mainframe that ran the General Electric Comprehensive Operating Supervisor (GECOS) operating system. This mainframe was used for resource-intensive tasks, most notably as a print spooler. The GECOS field was added to the Unix password file to store the user's identification information (full name, office, etc.) required for submitting batch jobs, such as print jobs, to the GECOS machine. This ensured that the physical output could be routed back to the correct user.
A. Bell Labs DHCP lease tracking: DHCP was developed in the 1990s, decades after the GECOS field was established in the early 1970s.
B. Payroll name and address info: While the field contained the user's name, its specific purpose was for routing computer job output, not for the payroll system.
D. Parking space assignments at AT&T: This is factually incorrect. The field's origin is directly tied to the operational needs of early computer systems at Bell Labs.
1. Salus, Peter H. (1994). A Quarter Century of Unix. Addison-Wesley. p. 94. ISBN 0-201-54777-5. The book states, "The fifth field is the GECOS field. At Bell Labs, there was a GECOS machine that handled, among other things, the print queue. The GECOS field was the user's name, etc., on that machine."
2. Libes, D., & Ressler, S. (1989). Life with UNIX: A Guide for Everyone. Prentice Hall. p. 19. ISBN 978-0135366578. "The GECOS field is named after the General Electric Comprehensive Operating System. At Bell Labs, printouts were spooled to a GECOS machine. This field was used to store the information that appeared on the banner page of the printout."
3. Raymond, Eric S. (Ed.). (2003). The Art of UNIX Programming. Addison-Wesley. Chapter 10, Section 10.1.2. "The GECOS field... It was originally used on an early UNIX system to store the user's login information for a GECOS mainframe that was used as a print spooler."
Keep practicing
Take the free ACE-P-ALE1-04 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other ACE-P-ALE1-04 practice questions
- Question 1When using the sudo command to run something as root, which password is required?
- Question 2Which utility can be used to remove sections or columns of each line of input?
- Question 3The ps –ef command is from which UNIX variant?
- Question 4In file globbing, which symbol matches any single character?
- Question 5If the system is swapping, what can be done to alleviate the problem?
- Question 6When scripting in bash, it is recommended to always use which symbols around your variabl…
