nerdexam
CompTIA

LX0-104 · Question #466

What file is typically used to display messages at the login prompt when remote users telnet in to the machine?

The correct answer is D. /etc/issue.net. Specific files are used by login services to display pre-login banners or messages, differentiating between local and remote access.

Networking Fundamentals

Question

What file is typically used to display messages at the login prompt when remote users telnet in to the machine?

Options

  • A/etc/issue
  • B/etc/motd
  • C/etc/net.banner
  • D/etc/issue.net

How the community answered

(43 responses)
  • A
    5% (2)
  • C
    2% (1)
  • D
    93% (40)

Why each option

Specific files are used by login services to display pre-login banners or messages, differentiating between local and remote access.

A/etc/issue

`/etc/issue` is used to display a message before the login prompt for local logins (e.g., on a physical console), not remote ones.

B/etc/motd

`/etc/motd` (Message Of The Day) is displayed after a user successfully logs in, not before the login prompt.

C/etc/net.banner

`/etc/net.banner` is not a standard or common file for displaying remote login banners in Linux/Unix systems.

D/etc/issue.netCorrect

The `/etc/issue.net` file is specifically designed to display a message or banner to remote users before they log in, particularly for services like Telnet or SSH, providing pre-authentication information.

Concept tested: Remote login banner configuration

Source: https://www.redhat.com/sysadmin/motd-issue-banners

Topics

#login banner#/etc/issue.net#telnet#remote login

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice