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...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .