nerdexam
CompTIA

XK0-001 · Question #270

A Linux system administrator has forgotten the root password. Which of the following would be the best way for the system administrator to gain access to the machine?

The correct answer is D. Reboot, enter Linux single-user mode and run passwd. See the full explanation below for the reasoning.

Question

A Linux system administrator has forgotten the root password. Which of the following would be the best way for the system administrator to gain access to the machine?

Options

  • AReinstall Linux.
  • BEnter runlevel 0 and run passwd.
  • CReboot and use the mdrecovery utility.
  • DReboot, enter Linux single-user mode and run passwd.

How the community answered

(28 responses)
  • A
    7% (2)
  • B
    18% (5)
  • C
    4% (1)
  • D
    71% (20)

Community Discussion

No community discussion yet for this question.

Full XK0-001 Practice