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.
Question
Options
- A/etc/issue
- B/etc/motd
- C/etc/net.banner
- D/etc/issue.net
How the community answered
(43 responses)- A5% (2)
- C2% (1)
- D93% (40)
Why each option
Specific files are used by login services to display pre-login banners or messages, differentiating between local and remote access.
`/etc/issue` is used to display a message before the login prompt for local logins (e.g., on a physical console), not remote ones.
`/etc/motd` (Message Of The Day) is displayed after a user successfully logs in, not before the login prompt.
`/etc/net.banner` is not a standard or common file for displaying remote login banners in Linux/Unix systems.
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
Community Discussion
No community discussion yet for this question.