Chapter 4 · System Maintenance and Operations·v1.0.0·Updated 7/7/2026·~9 min
What's changed: Initial version (topic 2.04, subtopics 2.04.1–2.04.6)
4.3Notifying Users
Key points
Learn how to communicate system maintenance status to users: pre-login messages via /etc/issue and /etc/issue.net, the post-login /etc/motd, immediate broadcast to all logged-in users with wall, the shutdown-warning behavior of shutdown, and combining notification with service control via systemctl.
Stopping a system without warning can cost users their in-progress work. Notifying users may look mundane, but it is a basic practice that underpins operational trust—the file or command you use depends on when, where, and to whom the message is shown.
4.3.1Static messages before and after login
- /etc/issue is shown before the local console login prompt. /etc/issue.net is shown before a network login such as telnet (many SSH implementations do not use it by default).
- /etc/motd (message of the day) is displayed after a successful login—used for scheduled maintenance notices or policy announcements.
4.3.2Immediate notification and shutdown
- wall broadcasts a message immediately to every currently logged-in user's terminal (e.g.,
wall "Rebooting in 10 minutes"). - shutdown schedules a stop or reboot at a given time and automatically broadcasts a warning message to users before executing (e.g.,
shutdown -r +10 "Rebooting for maintenance"). - systemctl performs service-level stop/restart operations (e.g.,
systemctl restart); operational practice is to announce with wall or similar before acting.
Continue reading — free sign-up
You're reading the free preview. Sign up free to read this section in full, plus every chapter (including 4+) and all questions.

