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

compdoc compdoc at hotrodpc.com
Thu Jun 7 21:28:57 UTC 2012


> But after deleting /etc/motd and logging in again, the file is not
>recreated:

/etc/motd is a link and should not be deleted:

lrwxrwxrwx   1 root root       13 Apr 28 10:40 motd -> /var/run/motd

Also, if there is a file named /etc/motd.tail, it can prevent the file from
being generated.

By the way, these files are owned by root, so use sudo when working with
them...







More information about the ubuntu-users mailing list