A system administrator needs to display a standardized warning message to all users who attempt to access a server directly from the local console. This message must appear on the terminal screen before the login prompt is presented. Which file should the administrator modify to implement this security banner?
The correct file to modify is /etc/issue. This file's content is displayed by getty or a similar program before the login prompt appears for local console and terminal sessions. The file /etc/motd (Message of the Day) is incorrect because its content is shown to users after they have successfully authenticated. The file /etc/issue.net is primarily used for displaying a banner for remote, non-encrypted connections like Telnet and is not typically used for local console logins. SSH, for instance, does not use this file by default and has its own Banner directive in its configuration. The file /etc/profile is a system-wide script that is executed to set environment variables and run startup programs after a user has logged in, not before.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the purpose of the /etc/issue file?
Open an interactive chat with Bash
How does /etc/motd differ from /etc/issue?
Open an interactive chat with Bash
When would you use /etc/issue.net instead of /etc/issue?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
Security
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access