1
0
şunun yansıması https://github.com/mail-in-a-box/mailinabox.git eşitlendi 2025-10-20 17:10:53 +00:00

Disable MOTD advertisements

Disables MOTD advertisements which use a script to send server information in `wget` headers to Canonical.
Bu işleme şunda yer alıyor:
Paul 2024-11-04 03:01:27 -08:00 işlemeyi yapan: GitHub
ebeveyn 1699ab8c02
işleme 863002fcf3
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: B5690EEEBB952194

Dosyayı Görüntüle

@ -83,6 +83,13 @@ fi
# (See https://discourse.mailinabox.email/t/journalctl-reclaim-space-on-small-mailinabox/6728/11.)
tools/editconf.py /etc/systemd/journald.conf MaxRetentionSec=10day
# ### Improve server privacy
# Disable MOTD adverts to prevent revealing server information in MOTD request headers
# See https://ma.ttias.be/what-exactly-being-sent-ubuntu-motd/
tools/editconf.py /etc/default/motd-news ENABLED=0
rm -f /var/cache/motd-news
# ### Add PPAs.
# We install some non-standard Ubuntu packages maintained by other