SK0-005 · Question #245
A technician is attempting to log in to a Linux server as root but cannot remember the administrator password. Which of the following is the LEAST destructive method of resetting the administrator…
The correct answer is C. Adjust the GRUB boot parameters to boot into single-user mode. Run passwd from the command. This is the least destructive method of resetting the administrator password because it does not require modifying any files or reinstalling the OS. It only requires changing the boot parameters temporarily and running a command to change the password.
Question
A technician is attempting to log in to a Linux server as root but cannot remember the administrator password. Which of the following is the LEAST destructive method of resetting the administrator password?
Options
- ABoot using a Linux live CD and mount the hard disk to /mnt. Change to the /mnt/etc directory. Edit
- BReinstall the OS in overlay mode. Reset the root password from the install GUI screen.
- CAdjust the GRUB boot parameters to boot into single-user mode. Run passwd from the command
- DBoot using a Linux live CD and mount the hard disk to /mnt. SCP the /etc directory from a known
How the community answered
(20 responses)- A10% (2)
- B10% (2)
- C75% (15)
- D5% (1)
Explanation
This is the least destructive method of resetting the administrator password because it does not require modifying any files or reinstalling the OS. It only requires changing the boot parameters temporarily and running a command to change the password.
Topics
Community Discussion
No community discussion yet for this question.