opensue "Have a lot of fun..."的出处

每次登陆opensuse都会出现“Have a lot of fun...”,觉得奇怪。

通过搜索发现在这是/etc/motd文件中配置的。

 

MOTD(5)                                                                         Linux Programmer's Manual                                                                         MOTD(5)

NAME
       motd - message of the day

DESCRIPTION
       The contents of /etc/motd are displayed by pam_motd(8) after a successful login but just before it executes the login shell.

       The abbreviation "motd" stands for "message of the day", and this file has been traditionally used for exactly that (it requires much less disk space than mail to all users).

       On Debian GNU/Linux, dynamic content configured at /etc/pam.d/login is also displayed by pam_exec.

FILES
       /etc/motd
       /etc/pam.d/login

SEE ALSO
       login(1), issue(5), pam_motd(8)

posted @ 2019-06-20 16:48  kissrule  阅读(412)  评论(0编辑  收藏  举报