ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 193 - SK0-005 discussion

Report
Export

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?

A.
Boot using a Linux live CD and mount the hard disk to /mnt. Change to the /mnt/etc directory. Edit the passwd file found in that directory.
Answers
A.
Boot using a Linux live CD and mount the hard disk to /mnt. Change to the /mnt/etc directory. Edit the passwd file found in that directory.
B.
Reinstall the OS in overlay mode. Reset the root password from the install GUI screen.
Answers
B.
Reinstall the OS in overlay mode. Reset the root password from the install GUI screen.
C.
Adjust the GRUB boot parameters to boot into single-user mode. Run passwd from the command prompt.
Answers
C.
Adjust the GRUB boot parameters to boot into single-user mode. Run passwd from the command prompt.
D.
Boot using a Linux live CD and mount the hard disk to /mnt. SCP the /etc directory from a known accessible server to /mnt/etc.
Answers
D.
Boot using a Linux live CD and mount the hard disk to /mnt. SCP the /etc directory from a known accessible server to /mnt/etc.
Suggested answer: C

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. Reference:

https://wiki.archlinux.org/title/Reset_lost_root_password#Using_GRUB

asked 02/10/2024
Arnaud DUTEL
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first