- 论坛徽章:
- 0
|
平台为Redhat9.0,/etc/inittab文件如下:
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
7:2345:respawn:/sbin/mingetty tty7 # ******
# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
a0:2345:respawn:/sbin/mingetty ttya0 #******
a1:2345:respawn:/sbin/mingetty ttya1 #******
其中带*号行是本人所加,重启后发现:
$ ps -ef |grep tty7
root 1107 1 0 14:35 tty7 00:00:00 /sbin/mingetty tty7
root 1672 1192 0 15:13 pts/0 00:00:00 grep tty7
而
$ ps -ef |grep ttya0
root 1710 1192 0 15:16 pts/0 00:00:00 grep ttya0
请问是何种缘故? 我该怎么操作远程访问的伪终端?谢谢! |
|