今日(きょう)(さわ)がしく(たわむ)れ生きる人々の漫画映画(まんがえいが)

Ubuntu禁用登陆时显示系统信息的banner

来源:https://ubuntuforums.org/showthread.php?t=1449020

That irritates the heck out of me too. It is controlled by the “pam_motd” module. You can disable the motd display (and potential delay) by editing these two files: /etc/pam.d/login, /etc/pam.d/sshd, and comment out the line that has “pam_motd” in it. I only tested the secure shell change since gdm is running, but it worked. Tested on Lucid Beta.

也就是说,修改 /etc/pam.d/login 和 /etc/pam.d/sshd ,把里面的含有 pam_motd 的行都注释掉就行了。

评论