Deal of The Day! 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:

William
18 days ago
Haha, enabling root login over SSH? What could possibly go wrong? Just make sure you have a backup plan in case you lock yourself out of the server. Option C is the way to go, though.
upvoted 0 times
...
Karl
23 days ago
Option C is the answer. Who would have thought enabling root login could be so simple? It's like unlocking the door to your digital fortress with a single command.
upvoted 0 times
Rasheeda
11 days ago
I always thought enabling root login would be more complicated. Good to know it's just a matter of changing a parameter in the sshd_config file.
upvoted 0 times
...
Emerson
15 days ago
Option C is the correct answer. Enabling root login is indeed simple with just a few modifications.
upvoted 0 times
...
...
Fletcher
1 months ago
I'm not sure, but I think PermitRootLogin is the standard parameter for enabling root log-in over SSH.
upvoted 0 times
...
Keneth
1 months ago
But what about option D? AllowRootLogin sounds like it could work too.
upvoted 0 times
...
Ilene
1 months ago
I agree with Fletcher, because sshd_config is for server-side configuration.
upvoted 0 times
...
Stephania
2 months 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
2 months 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
Ronna
16 days ago
Great, let's go ahead and make that change in the sshd_config file.
upvoted 0 times
...
Merissa
19 days ago
PermitRootLogin is the parameter we need to modify to enable root login over SSH.
upvoted 0 times
...
Lavera
24 days ago
Yes, you're right. The sshd_config file is where we configure SSH server settings.
upvoted 0 times
...
Chara
1 months ago
I think option C is the correct choice.
upvoted 0 times
...
...
Fletcher
2 months ago
I think the correct answer is C) /etc/ssh/sshd_config - PermitRootLogin.
upvoted 0 times
...

Save Cancel