nerdexam
CompTIA

XK0-001 · Question #160

A system administrator who has forgotten his root password on a server can do which of the following to change the root password?

The correct answer is D. Reboot the system in runlevel 1 and use "init=/bin/sh" as a boot option. See the full explanation below for the reasoning.

Question

A system administrator who has forgotten his root password on a server can do which of the following to change the root password?

Options

  • AUse a brute-force password sniffer.
  • BEdit the /etc/inittab file to load without NIS.
  • CUse the passwd command from the administrator group.
  • DReboot the system in runlevel 1 and use "init=/bin/sh" as a boot option.

How the community answered

(29 responses)
  • A
    10% (3)
  • B
    3% (1)
  • C
    3% (1)
  • D
    83% (24)

Community Discussion

No community discussion yet for this question.

Full XK0-001 Practice