LPI
117-102 · Question #197
117-102 Question #197: Real Exam Question with Answer & Explanation
The correct answer is B. Only root will be allowed to log in.. See the full explanation below for the reasoning.
Question
The files /etc/hosts.allow, /etc/hosts.deny and /etc/nologin all exist on your computer and the sshd daemon is running. What will happen when users try to connect with ssh?
Options
- AOnly connections from computers specified in
- BOnly root will be allowed to log in.
- CAll users not specified in /etc/hosts.deny will be
- DNo user will be allowed to log in.
Community Discussion
No community discussion yet for this question.