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. 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. 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. /etc/shadow
D) Boot into single-user mode and reset the password via the chage command. chage
Correct Answer:
Verified
Q173: A junior administrator is migrating a virtual
Q174: A system administrator has set up third-party
Q175: A systems administrator wants to deploy several
Q176: Which of the following is the purpose
Q177: A systems administrator needs to append output
Q179: A junior systems is configuring localization option
Q180: Which of the following configuration management tools
Q181: A site reliability engineer updated the latest
Q182: A Linux administrator looks at the /etc/timezone
Q183: A raw VM image is being compressed
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents