Users Guide
188
配置和使用 LAN 上串行
修改后的 /etc/inittab 示例:
______________________________________________________________
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
SKIP this part of file
# Run gettys in standard runlevels
1:2345:respawn:/sbin/migetty tty1
2:2345:respawn:/sbin/migetty tty1
3:2345:respawn:/sbin/migetty tty1
4:2345:respawn:/sbin/migetty tty1
5:2345:respawn:/sbin/migetty tty1
6:2345:respawn:/sbin/migetty tty1
7:2345:respawn:/sbin/agetty -h ttyS0 115200 vt220
# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
______________________________________________________________
2
编辑
/etc/securetty
文件以允许用户通过
SOL
控制台以
root
用户的身份
登录。将以下一行添加在
console
后面:
ttyS0
原始 /etc/securetty 示例:
______________________________________________________________
console
vc/1
vc/2
vc/3
vc/4
SKIP the rest of file