真的是魔鬼在细节
不过我现在
killall
[bbs@bird bin]$ killall miscd
[bbs@bird bin]$ killall bbslogd
[bbs@bird bin]$ killall bbsd
[bbs@bird bin]$ ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 163840 root 644 106496 2 dest
0x00000e74 524289 bbs 660 1024 0
0x00000e70 557058 bbs 660 5517252 0
0x00000e6d 589827 bbs 660 11204 0
0x00001194 622596 bbs 660 4798384 0
0x00000000 327685 bird 777 393216 2 dest
0x00000e73 655366 bbs 660 14578200 0
0x00000e72 688135 bbs 660 224296 0
0x00002335 720904 bbs 660 60008 0
0x00000000 884746 bird 777 393216 2 dest
0x00000000 950283 bird 777 393216 2 dest
0x00000000 1343503 bird 777 393216 2 dest
------ Semaphore Arrays --------
key semid owner perms nsems
0x00054188 32768 bbs 700 20
------ Message Queues --------
key msqid owner perms used-bytes messages
0x00000888 32768 bbs 664 0 0
[bbs@bird bin]$ ipcrm -m 524289
[bbs@bird bin]$ ipcrm -m 557058
[bbs@bird bin]$ ipcrm -m 589827
[bbs@bird bin]$ ipcrm -m 622596
[bbs@bird bin]$ ipcrm -m 655366
[bbs@bird bin]$ ipcrm -m 688135
[bbs@bird bin]$ ipcrm -m 720904
[bbs@bird bin]$ ipcrm -s 32768
[bbs@bird bin]$ ipcrm -q 32768
[bbs@bird bin]$ ./miscd daemon
[bbs@bird bin]$ ./bbslogd
[bbs@bird bin]$ su
Password:
[root@bird bin]# ./bbsd -p 23
[root@bird bin]# telnet localhost
Trying 127.0.0.1...
Connected to bird (127.0.0.1).
Escape character is '^]'.
Error! shmat 2 error! key = x.
Connection closed by foreign host.
[root@bird bin]# ./bbsd -p 4003
[root@bird bin]# telnet localhost 4003
Trying 127.0.0.1...
Connected to bird (127.0.0.1).
Escape character is '^]'.
Error! shmat 2 error! key = x.
Connection closed by foreign host.
这样bbsd没关干净?!
甚至我不能用root启动miscd然后接下来都不性2了 !
[root@bird bin]# ./miscd daemon
Error! File .PASSWDS is not writable.
[root@bird bin]# su bbs
[bbs@bird bin]$ ./miscd daemon
Error! shmat 2 error! key = e74.: Permission denied
[bbs@bird bin]$ ipcs
【 在 windinsn (雪域清风) 的大作中提到: 】
: ??
--
FROM 61.187.19.*