`motd` please be quiet!

motd please be quiet!

ubuntu 24.04

ubuntu login (motd) is too verbose

This page is about 24.04, here is the page about motd in 18.04.

My current ubuntu server greets me like this :

Welcome to Ubuntu 24.04.3 LTS (GNU/Linux 6.8.0-88-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Thu Dec  4 01:02:03 UTC 2025

  System load:           0.0
  Usage of /:            16.5% of 23.17GB
  Memory usage:          6%
  Swap usage:            0%
  Processes:             126
  Users logged in:       0
  IPv4 address for enX0: 23.75.345.200
  IPv6 address for enX0: 0:0:0:0:0:ffff:174b:159c8

 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
   just raised the bar for easy, resilient and secure K8s cluster deployment.

   https://ubuntu.com/engage/secure-kubernetes-at-the-edge

Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status


Last login: Wed Dec  3 01:02:03 2025 from 75.748.86.91
user@machine:~$

Make it less verbose

# I know where to find help
sudo chmod -x /etc/update-motd.d/10-help-text

# The state of my system is fine (otherwise zabbix, monit or OnlineBot would have told me).
sudo chmod -x /etc/update-motd.d/50-landscape-sysinfo

# I know about meltdown and spectre, since I'm a grumpy reader of https://lwn.net
sudo chmod -x /etc/update-motd.d/50-motd-news

# I won't buy support for my home server:
sudo chmod -x /etc/update-motd.d/91-contract-ua-esm-status
sudo chmod -x /etc/update-motd.d/50-landscape-sysinfo

# I manage updates myself
sudo chmod -x /etc/update-motd.d/85-fwupd
sudo chmod -x /etc/update-motd.d/92-unattended-upgrades
sudo chmod -x /etc/update-motd.d/90-updates-available

# LTS releases are every 2 years
sudo chmod -x /etc/update-motd.d/91-release-upgrade

Result

Welcome to Ubuntu 24.04.3 LTS (GNU/Linux 6.8.0-88-generic x86_64)

Last login: Thu Dec  4 02:03:04 2025 from 75.748.86.91

Veni, vidi, vici.

~~~

Question, remark, bug? Don't hesitate to contact me or report a bug.