About.com: Setting Up Login Messages | Linux Today

About.com: Setting Up Login Messages

Written By
Web Webster
Web Webster
Oct 29, 2000

“If your system accepts remote user logins via telnet or
serial ports, or console logins in text mode, you can present text
messages to your users simply by editing two files in the /etc
directory.”

“The /etc/issue file is displayed to connecting users before the
login prompt is displayed. This is an excellent place to display
warnings and login instructions… Because many distributions
automatically generate this file each time you boot, you may want
to mark it as read-only once you’ve edited it to your satisfaction
so that your changes won’t be overwritten…”

“The /etc/motd file is similar to the /etc/issue file in that it
is plain-text and is displayed to the user during login. However,
the /etc/motd file is displayed after successful password entry but
before the shell is started. This file is useful for displaying
information which should be seen only by valid users… Since this
file is displayed by login rather than by the shell, it is seen by
all users, even those not logging in to an interactive shell. Some
distributions may automatically generate this file each boot as
well; you can take the same steps to preserve the changes you make
to this file.”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.