Exam XK0-005 Topic 2 Question 263 Discussion

Actual exam question for CompTIA's XK0-005 exam
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

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

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.

0
0
0
10