nerdexam
Linux_Foundation

LFCS · 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. The /etc/issue.net file is typically used to display pre-login messages to remote users accessing the machine via network services like Telnet or SSH.

Submitted by hassan_iq· Apr 18, 2026Networking

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

(22 responses)
  • A
    5% (1)
  • D
    95% (21)

Why each option

The `/etc/issue.net` file is typically used to display pre-login messages to remote users accessing the machine via network services like Telnet or SSH.

A/etc/issue

`/etc/issue` contains a message displayed to users on *local* text-mode terminals before the login prompt.

B/etc/motd

`/etc/motd` (message of the day) is displayed to users *after* they have successfully logged in, not at the login prompt.

C/etc/net.banner

`/etc/net.banner` is not a standard Linux/Unix file for displaying network login banners.

D/etc/issue.netCorrect

The `/etc/issue.net` file is specifically read and displayed by network login services (like `telnetd` or `sshd`) to remote users *before* they are prompted for authentication, making it suitable for pre-login banners.

Concept tested: Pre-login messages for remote access

Source: https://man7.org/linux/man-pages/man5/issue.5.html

Topics

#Login Messages#System Banners#Telnet Configuration#Remote Access

Community Discussion

No community discussion yet for this question.

Full LFCS Practice