# cat /etc/login.warn
!!!! welcome to kerneltalks test server !!!!
this server is meant for testing linux commands and tools. if you are
not associated with kerneltalks.com and not authorized please dis-connect
immediately.
你可以在用户输入密码登录系统之前看到此消息。
如何在用户登录后显示消息
消息用户在成功登录系统后看到的当天消息message of the day(motd)由 /etc/motd 控制。编辑这个文件并输入当成功登录后欢迎用户的消息。
root@kerneltalks # cat /etc/motd
w e l c o m e
welcome to the testing environment of kerneltalks.
feel free to use this system for testing your linux
skills. in case of any issues reach out to admin at
info@kerneltalks.com. thank you.