User Tools

Site Tools


linux:motd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:motd [2022/11/23 12:49] – external edit 127.0.0.1linux:motd [2023/07/11 07:12] (current) bstafford
Line 5: Line 5:
 <code>sudo chmod -x /etc/update-motd.d/*</code> <code>sudo chmod -x /etc/update-motd.d/*</code>
 You can edit the scripts in <code>/etc/update-motd.d</code> You can edit the scripts in <code>/etc/update-motd.d</code>
 +
 +Disabling the news part (the pingback to canonical) is simple. Edit the following file:
 +<code>vim /etc/default/motd-news</code>
 +Change ''ENABLED=1'' to ''ENABLED=0''.
linux/motd.1669207782.txt.gz · Last modified: by 127.0.0.1