Exam XK0-005 Topic 2 Question 263 Discussion
Actual exam question for CompTIA's XK0-005 exam
Question #: 263
Topic #: 2
Question #: 263
Topic #: 2
Which of the following will prevent non-root SSH access to a Linux server?
Suggested Answer: A Vote an answer
The presence of the /etc/nologin file prevents non-root users from logging into the system via SSH or any other login method. Only the root user can log in when this file exists. This file is commonly used to temporarily disable user logins during system maintenance.
by Beacher at Jun 08, 2025, 03:01 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).