[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: motd handling in jessie

On 26 January 2015 at 07:46, Russ Allbery <rra@debian.org> wrote:
I think we're overcomplicating this.  If someone really wants to put data
that updates regularly in their MOTD *and* use update-motd.d to do this
(we're already into territory that I suspect is pretty rare), we can just
tell them to add a call to update-motd to cron or use pam_motd.

Maybe I have got this wrong somewhere, however wouldn't it be possible to drop a script in /etc/profile.d that runs "uname -a" for interactive shells?

* Easy to understand.
* Easy to change.
* Simple to implement.


* motd will display first. This won't be the first line of the output, does that matter?
* I think this won't work for, e.g. zsh users. At least not on my tests on a wheezy box.

Reply to: