任意用户登录系统时,显示红色字体的警示提醒信息 “hi dangerous!”

/etc/issue 本地登陆的显示信息,本地登陆前

/etc/issue.net 网络登陆的显示信息,登陆后显示,需要有SSHD配置

/etc/motd。常用于通告信息,登陆后的提示信息

man pam_issue

一,当前用户配置文件

vim /etc/issue

二,重启系统

reboot

猜你喜欢

转载自www.cnblogs.com/chenxi-hxl/p/12321695.html
Hi~
hi