exam questions

Exam XK0-004 All Questions

View all questions & answers for the XK0-004 exam

Exam XK0-004 topic 1 question 174 discussion

Actual exam question from CompTIA's XK0-004
Question #: 174
Topic #: 1
[All XK0-004 Questions]

A new user has been added to a Linux machine. Which of the following directories would contain the user's default files?

  • A. /etc/login.defs
  • B. /etc/passwd
  • C. /etc/skel
  • D. /etc/inittab
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Reference:
https://linuxize.com/post/how-to-create-users-in-linux-using-the-useradd-command/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Dan_Dan_The_Data_Center_Man
3 years, 5 months ago
sudo useradd -m username Creates the new user’s home directory and copies files from /etc/skel directory to the user’s home directory.
upvoted 2 times
Dan_Dan_The_Data_Center_Man
3 years, 5 months ago
Correct Answer is C
upvoted 5 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago