nerdexam
CompTIACompTIA

XK0-005 · Question #17

XK0-005 Question #17: Real Exam Question with Answer & Explanation

Sign in or unlock XK0-005 to reveal the answer and full explanation for question #17. The question stem and answer options stay visible for context.

System Management

Question

A Linux server needs to be accessed, but the root password is not available. Which of the following would BEST allow an administrator to regain access and set a new known password at the same time?

Options

  • ABoot into a single-user mode and reset the password via the passwd command.
  • BBoot into a single-user mode and reset the password by editing the /etc/passwd file.
  • CBoot into a single-user mode and reset the password by editing the /etc/shadow file.
  • DBoot into a single-user mode and reset the password via the chage command.

Unlock XK0-005 to see the answer

You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Linux password reset#Single-user mode#Root access recovery#System administration
Full XK0-005 PracticeBrowse All XK0-005 Questions