Site icon 时鹏亮的Blog

Ubuntu 20.04 如何隐藏Enable ESM Apps to receive additional future security updates. 提示

请知悉:本文最近一次更新为 4个月 前,文中内容可能已经过时。

嗯,Ubuntu 20.04 官方源安装系统后,SSH登入后会提示:

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

如何隐藏这个提示呢?

方法如下:

touch /var/lib/ubuntu-advantage/hide-esm-in-motd
touch /var/lib/update-notifier/hide-esm-in-motd
rm -rf /var/lib/update-notifier/updates-available
apt update

后续提示:

Expanded Security Maintenance for Applications is enabled.

可以通过如下方式禁止:

chmod -x /etc/update-motd.d/90-updates-available

参考资料

Inhibit ESM messages at login


如您从本文得到了有价值的信息或帮助,请考虑扫描文末二维码捐赠和鼓励。

尊重他人劳动成果。转载请务必附上原文链接,我将感激不尽。


与《Ubuntu 20.04 如何隐藏Enable ESM Apps to receive additional future security updates. 提示》相关的博文:

Exit mobile version