Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA Exam XK0-005 Topic 3 Question 46 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 46
Topic #: 3
[All XK0-005 Questions]

A Linux administrator is enabling root log-in over SSH on a server. Which of the following combinations of files and parameters should the administrator modify to accomplish this task?

Show Suggested Answer Hide Answer
Suggested Answer: C

To enable root login over SSH, the administrator must edit the /etc/ssh/sshd_config file, which configures the SSH daemon. The PermitRootLogin directive should be set to yes to allow root login. After making this change, the SSH daemon must be restarted for the changes to take effect.


Contribute your Thoughts:

Stephania
3 days ago
I agree with Mee. The sshd_config file is the go-to place for configuring SSH server settings. PermitRootLogin is the way to go.
upvoted 0 times
...
Mee
5 days ago
Option C seems like the right choice. The sshd_config file is where you configure the SSH server settings, and PermitRootLogin is the correct parameter to enable root login over SSH.
upvoted 0 times
...
Fletcher
6 days ago
I think the correct answer is C) /etc/ssh/sshd_config - PermitRootLogin.
upvoted 0 times
...

Save Cancel