Comment 16 for bug 399071

On Fri, Nov 20, 2009 at 10:34:40PM -0000, Mike.lifeguard wrote:
> With update-motd, it was obvious and easy to stop it changing
> /var/run/motd. How do you do that with pam_motd? I don't wish to have
> the system change my motd.

If you don't want the system changing your motd, then it should be enough to
remove the /etc/motd symlink to /var/run/motd and maintain /etc/motd as a
static file.

That won't stop the scripts in /etc/update-motd.d from running; if you wish,
you can remove these files to eliminate the overhead of generating the
/var/run/motd you aren't using.

Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer
<email address hidden> <email address hidden>