New Year Sale ! 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:

Fletcher
3 days ago
I'm not sure, but I think PermitRootLogin is the standard parameter for enabling root log-in over SSH.
upvoted 0 times
...
Keneth
7 days ago
But what about option D? AllowRootLogin sounds like it could work too.
upvoted 0 times
...
Ilene
10 days ago
I agree with Fletcher, because sshd_config is for server-side configuration.
upvoted 0 times
...
Stephania
12 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
13 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
Chara
3 days ago
I think option C is the correct choice.
upvoted 0 times
...
...
Fletcher
15 days ago
I think the correct answer is C) /etc/ssh/sshd_config - PermitRootLogin.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77