Re:Fear and Loathing in Linux, or Who Needs /etc/motd (2010)
by 0x0 on Monday August 08, 2016 @06:53PM
(#12251364)
Debian 8 has gone back to a normal file in /etc/motd and has gotten rid of all the motd.tail shenanigans, though. :)
[ Parent
| on HN ]
Re:Fear and Loathing in Linux, or Who Needs /etc/motd (2010)
by pdw on Tuesday August 09, 2016 @08:58AM
(#12254156)
Yes. The description section of Debian's motd(5) manpage now reads:
The contents of /etc/motd are displayed by pam_motd(8) after a successful login
but just before it executes the login shell.
The abbreviation "motd" stands for "message of the day", and this file has been
traditionally used for exactly that (it requires much less disk space than mail
to all users).
On Debian GNU/Linux, dynamic content configured at /etc/pam.d/login is also dis‐
played by pam_exec.
Which seems pretty sane.