Re:Fear and Loathing in Linux, or Who Needs /etc/motd (2010)
by dfox on Monday August 08, 2016 @07:06PM
(#12251425)
It seems to me that the cited motd(5) manpage cleanly states that breaking the /etc/motd symlink is what you should do if you want to manage it's contents yourself.
[ Parent
| on HN ]
Re:Fear and Loathing in Linux, or Who Needs /etc/motd (2010)
by the_mitsuhiko on Monday August 08, 2016 @07:12PM
(#12251444)
Where does it say that?
Re:Fear and Loathing in Linux, or Who Needs /etc/motd (2010)
by dfox on Monday August 08, 2016 @07:14PM
(#12251449)
It seems to be somehow cut off, but:
On Debian GNU/Linux this file is a symbolic link pointing to /var/run.
The contents of this file are regenerated upon every system boot based
on the contents of /etc/motd.tail.
Re:Fear and Loathing in Linux, or Who Needs /etc/motd (2010)
by prodigal_erik on Monday August 08, 2016 @11:42PM
(#12252466)
What it clearly states is that the symlink is expected to exist, with no assurance that something sane will happen if it doesn't.