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

Answer: A

Explanation:

Reference: https://phoenixnap.com/kb/how-to-change-root-password-linux

Latest XK0-004 Dumps Valid Version with 267 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments