方法1:通过修改单个用户的登陆文件
修改某个用户的.bash_profile可以达到修改登录提示的效果:
# .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then . ~/.bashrcfi# User specific environment and startup programsPATH=$PATH:$HOME/binexport PATHttyhostnamedate
方法2:全局作用,修改issue文件
[root@localhost etc]# more issue\SKernel \r on an \m\l\t\n