CompTIA Linux+ (XK0-004) — Question 156
A new user has been added to a Linux machine. Which of the following directories would contain the user's default files?
Answer options
- A. /etc/login.defs
- B. /etc/passwd
- C. /etc/skel
- D. /etc/inittab
Correct answer: C
Explanation
The correct answer is C, as the /etc/skel directory contains the default files and directories that are copied to a new user's home directory when the account is created. Option A, /etc/login.defs, contains configuration settings for user login, while option B, /etc/passwd, holds user account information, and option D, /etc/inittab, is related to system initialization processes.