Users Guide
______________________________________________________________
2. 编辑 /etc/securetty 文件以允许用户通过 SOL 控制台以 root 用户的身份登录。将以下一行添加在 console 后面:
ttyS0
原始 /etc/securetty 示例:
______________________________________________________________
console
vc/1
vc/2
vc/3
vc/4
SKIP the rest of file
______________________________________________________________
修改后的 /etc/securetty 示例:
______________________________________________________________
Console
ttyS0
vc/1
vc/2
vc/3
vc/4
SKIP the rest of file
______________________________________________________________
3. 编辑 /boot/grub/grub.conf 或 /boot/grub/menu.list 文件,以便为 SOL 添加引导选项:
a. 注释掉类似 Unix 的各个操作系统中的图形显示行:
¡ RHEL 5 中的 splashimage=(had0,0)/grub/splash.xpm.gz
¡ SLES 10 中的 gfxmenu (hda0,5)/boot/message
b. 在第一 title= ... 行前面添加以下一行:
# Redirect OS boot via SOL
c. 将以下项附加到第一 title= ... 行:
SOL redirection
d. 将以下文本附加到第一个 title= ... 的 kernel/... 行:
console=tty1 console=ttyS0,115200
RHEL 5 中的原始 /boot/grub/grub.conf 示例:
______________________________________________________________
# grub.conf generated by anaconda
#
# Note that you do not have to return grub after making changes to this
# file
# NOTICE: You have a /boot partition.This means that
注:Red Hat Enterprise Linux 5 中的 /boot/grub/grub.conf 是指向 /boot/grub/menu.list 的符号链接。可以更改两者中任一项中的设置。