ubuntu custom motd

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Wed Dec 2 21:58:02 UTC 2009


On Wed, Dec 02, 2009 at 03:02:18PM -0500, teddy mills wrote:
> Ubuntu /etc/motd is always overwritten upon reboot.I had to fix this.
> I am sure there is easier ways to do this. as root cd /etc
>
> unlink /etc/motd
> nano /etc/motd-custom <--your permanent MOTD and save
> ln -s /etc/motd-custom /etc/motd

On debian you edit /etc/motd.tail and then it uses that as the base for
/etc/motd (which simpyl adds the kernel version and such to the file).

Of course since /etc/motd is a symlink to /var/run/motd you could simply
change it to a normal file and add whatever you want.  You do not have
to create a new file and symlink to that.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list