linux登录后的提示一般是这样的:
Last failed login: Wed Feb 14 19:18:07 CST 2024 from xx.xx.xx.xx on ssh:notty
There were 138 failed login attempts since the last successful login.
Last login: Tue Feb 13 09:08:11 2024 from xx.xx.xx.xxWelcome to Huawei Cloud Service
不好意思服务器经常被攻击,截图是正常的时候
很多人会好奇,这一行欢迎语是哪里来的,这个是linux中的 message of today,即motd
,只要修改 /etc/motd 这个配置文件就可以啦,接下来我们打开 https://patorjk.com/software/taag/#p=display&f=Graffiti&t=Type%20Something%20 ,生成一个想要的登录提示语的 ANSI 图案,然后修改 motd文件看看效果吧。
再登录看看->
怎么样?是不是霸气个性很多!