Linux Configuration Files and OS Components for A+
Short answer
- /etc/passwd contains account metadata; /etc/shadow stores password hashes and is restricted. - /etc/hosts allows static hostname-to-IP mappings for local override; useful in small troubleshooting cases. - /etc/fstab lists filesystems to mount at boot; /etc/resolv.conf configures DNS resolver settings. - systemd is the init/service manager on many modern distros; journalctl and systemctl are the main tools for logs and service control. - kernel and bootloader are recognized elements (kernel runs the OS; bootloader starts the kernel). Technicians should know these terms but not perform low-level kernel debugging.
Why it appears on the exam
- Identify which file contains password hashes (/etc/shadow) versus which lists user account metadata (/etc/passwd). - Given a problem where a filesystem does not mount at boot, select /etc/fstab as the first config to inspect. - Recognize systemctl usage for checking service status when asked to collect troubleshooting logs.
Key concepts
Concept 1
Required terms
/etc/passwd: Text file listing user account information (username, uid, gid, home directory, shell) visible to all users. /etc/shadow: Secure file storing hashed user passwords and aging information; readable only by privileged accounts. systemd: Init system and service manager present on many Linux distributions, responsible for starting services and managing units. root account: The superuser account with unrestricted privileges; use is limited in client support and sudo is preferred for auditable privilege escalation.
Example
When a host cannot resolve a local hostname, check /etc/hosts for an overriding entry.
Concept 2
How Linux Configuration Files and OS Components works
- /etc/passwd contains account metadata; /etc/shadow stores password hashes and is restricted. - /etc/hosts allows static hostname-to-IP mappings for local override; useful in small troubleshooting cases. - /etc/fstab lists filesystems to mount at boot; /etc/resolv.conf configures DNS resolver settings. - systemd is the init/service manager on many modern distros; journalctl and systemctl are the main tools for logs and service control. - kernel and bootloader are recognized elements (kernel runs the OS; bootloader starts the kernel). Technicians should know these terms but not perform low-level kernel debugging.
Example
When services fail to start, use systemctl status service and journalctl -xe to gather logs (recognize these commands rather than deep configuration changes).
Concept 3
Common confusion
- Editing /etc/shadow without proper tools or privileges; remember to use passwd or usermod rather than hand-editing hashes. - Treating systemd as part of the kernel; it is userspace and manages services. - Assuming root must be enabled for all admin tasks; sudo is preferred for auditability and safety.
Example
To check mount behavior at boot, inspect /etc/fstab for incorrect options.
Concept 4
Core 2 (220-1202) question cues
Identify which file contains password hashes (/etc/shadow) versus which lists user account metadata (/etc/passwd); Given a problem where a filesystem does not mount at boot, select /etc/fstab as the first config to inspect; Recognize systemctl usage for checking service status when asked to collect troubleshooting logs.
Example
When a host cannot resolve a local hostname, check /etc/hosts for an overriding entry.
Sample questions
Select an answer to reveal the explanation. For tracked practice and weak-area review, use the Cultiv8 app.
Q1.An A+ support scenario describes this situation: When a host cannot resolve a local hostname, check /etc/hosts for an overriding entry. Which answer fits best?
Q2.A technician sees this situation: When services fail to start, use systemctl status service and journalctl -xe to gather logs (recognize these commands rather than deep configuration changes). Which answer should they choose?
Q3.A user reports this support situation: To check mount behavior at boot, inspect /etc/fstab for incorrect options. Which option should the technician choose?
Practice this lesson in Cultiv8
The app adds tracked practice, targeted remediation, saved session history, and future readiness scoring.
Continue in Cultiv8