Comment 16 for bug 399071

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 399071] Re: pam_motd: assume update-motd responsibilities

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 http://www.debian.org/
<email address hidden> <email address hidden>