update-motd not updating /etc/motd after LTS upgrade

Marius Gedminas marius at pov.lt
Tue Oct 9 07:36:40 UTC 2012


On Tue, Oct 09, 2012 at 03:55:22AM +0000, Jonesy wrote:
> On Mon, 8 Oct 2012 16:28:10 -0400, Tom H wrote:
> > On Mon, Oct 8, 2012 at 10:49 AM, goldleviathan <coberloco at hotmail.com> wrote:
> >>
> >> Open your /etc/ssh/sshd_config and add the line:
> >>
> >> PrintMotd yes

Um, no.  On Ubuntu it's pam_motd that updates and prints the MOTD.

> >> Then restart ssh.
> >
> > You may be right byt there's no mention of ssh in the query.
> >
> > To the OP:
> >
> > Check that "/run/motd" exists and check its contents.
> 
> ITYM "/var/run/motd" ?

/var/run is a symlink to /run (which is a tmpfs mount) in 12.04.

> > Check that "/etc/motd" is a symlink to "/run/motd".

On my system it's a system to /var/run/motd, which is also fine.

Marius Gedminas
-- 
Stupidity management for the superuser is a user space issue in Unix
systems.
		-- Alan Cox
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20121009/8fb00eab/attachment.sig>


More information about the ubuntu-users mailing list