当前位置:Linux教程 - 安装启动 - 安装启动 - 修改登录画面

安装启动 - 修改登录画面

修改登录画面
2004-04-23 15:18 pm
来自:Linux文档
现载:Www.8s8s.coM
地址:无名

  先修改文件 /etc/issue 改为相要显示的内容, 再修改文件 /etc/rc.d/rc.local(RedHat) 或 /etc/rc.d/rc.S(Slackware) 把下面几句注释掉:
# This will overwrite /etc/issue at every boot. So, make any changes you
# want to make to /etc/issue here or you will lose them when you reboot.
echo "" > /etc/issue
echo "Red Hat linux $R" >> /etc/issue
echo "Kernel $(uname -r) on $a $(uname -m)" >> /etc/issue

cp -f /etc/issue /etc/issue.net
echo >> /etc/issue
  不然的话每次重新启动 /etc/issue 都会被更改。