System data and utility programs, password and login files in UNIX OS are…
2013
System data and utility programs, password and login files in UNIX OS are stored in ________ directory.
- A.
bin
- B.
user
- C.
profile
- D.
etc
Attempted by 8 students.
Show answer & explanation
Correct answer: D
Concept
In the UNIX/Linux filesystem hierarchy, each top-level directory has a fixed, standardized role. System-wide configuration data — the static settings that describe how the machine and its users are set up — lives in one dedicated directory rather than being scattered across the tree.
That directory is /etc. By the Filesystem Hierarchy Standard, /etc holds host-specific system configuration files: the user account database, password/login control files, startup scripts, and service settings.
Application to this item
The stem asks where system data plus the password and login files are kept. Map each clue to its standard location:
Password / account database →
/etc/passwd(and the encrypted hashes in/etc/shadow).Login control / defaults →
/etc/login.defs,/etc/profile.System-wide configuration and service data → files directly under
/etc.
Every clue resolves to the same directory, so the blank is etc.
Cross-check
Note this is the /etc directory, not the abbreviation “etc.” (et cetera). Other UNIX directories serve different roles, so none of them is the place that gathers configuration and login files — confirming etc as the answer.