Which of the following would BEST allow an administrator to regain access and set a new known password at the same time?

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?
A. Boot into single-user mode and reset the password via the passwd command.
B. Boot into single-user mode and reset the password by editing the /etc/passwd file.
C. Boot into single-user mode and reset the password by editing the /etc/shadow file.
D. Boot into single-user mode and reset the password via the chage command.

comptia-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.