檔案位置
/etc/update-motd。d
修改或刪除指定檔案即可
00-header 10-help-text 50-motd-news 92-unattended-upgrades 98-fsck-at-reboot 98-reboot-required 99-esm
檢視效果
run-parts /etc/update-motd。d
新增其他資訊
cat /etc/update-motd。d/10-help-text
BANNER_PATH=/etc/update-motd。d/bannercat $BANNER_PATH/infocat $BANNER_PATH/contact
cat /etc/update-motd。d/banner/info
██ ███ ███ ██ ██ ██████ ██████ ████ ████ ██ ██ ██ ██ ██ ██ ██ ████ ██ ███████ ██████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ High Performance Computing Cluster
cat /etc/update-motd。d/banner/contact
* Management: Cheenwe cxhyun@126。com* Support: xxxx cxhyun@126。com* Usage: >>> 使用手冊 http://doc。hpc。io <<<