- 主题:请问如何停止telnet下的新用户注册而保留web的
谢谢。
--
FROM 202.121.105.*
register.c
注册的时候不是输入new么?
把这段卡嚓掉
【 在 xqh@bbs.tongji.edu.cn-SPAM.no (xqh) 的大作中提到: 】
: 谢谢。
--
FROM 159.226.37.*
系统没有提供这个功能的么?好像有的bbs在某些时候会提示:本站暂不提供新用户注册,就是照您说的方法做的么?
【 在 jiangjun2000@newsmth.net-SPAM.no (%d) 的大作中提到: 】
: register.c
: 注册的时候不是输入new么?
: 把这段卡嚓掉
: ...................
--
FROM 202.121.105.*
具体不清楚人家怎么做的
【 在 xqh@bbs.tongji.edu.cn-SPAM.no (xqh) 的大作中提到: 】
: 系统没有提供这个功能的么?好像有的bbs在某些时候会提示:本站暂不提供新用户注册,就是照您说的方法做的么?
--
FROM 159.226.37.*
修改后如何重新编译呢?谢谢
【 在 jiangjun2000@newsmth.net-SPAM.no (%d) 的大作中提到: 】
: 具体不清楚人家怎么做的
--
FROM 202.121.105.*
改代码
make通过
发全站广播宣布要停站了
echo "系统将开始维护..." > ~bbs/NOLOGIN 停止登录
过一会儿依次 killall 以下程序:bbsd sshbbsd newpop3d innbbsd
停 web: ......./apachectl stop
killall bbslogd
停 crontab: bbs 身份执行 crontab -l > 某个文件保存下;然后 crontab -r
miscd flush 确保写回 .PASSWDS .BOARDS,然后 killall miscd
清共享内存,ipcs 一下确认清干净了
make install代码
如果磁盘数据文件的数据结构有变化,作必要的数据转换
miscd daemon
bbslogd
恢复 crontab
启动 web 及刚才被 kill 掉的程序,
把 NOLOGIN 咔嚓掉
【 在 xqh@bbs.tongji.edu.cn-SPAM.no (xqh) 的大作中提到: 】
: 修改后如何重新编译呢?谢谢
--
FROM 159.226.158.*
make之前要configure么?
我直接在源代码目录下make报错了。。。。
【 在 bsgirl@newsmth.net-SPAM.no (后街) 的大作中提到: 】
: 改代码
: make通过
: 发全站广播宣布要停站了
: ...................
--
FROM 202.121.105.*
不用重新configure
【 在 xqh@bbs.tongji.edu.cn-SPAM.no (xqh) 的大作中提到: 】
: make之前要configure么?
: 我直接在源代码目录下make报错了。。。。
难道你没configure过?那站怎么建起来的 ...
--
FROM 61.149.136.*
当然configure过的。
我make的时候报错如下:
make -s all-recursive
Making all in libsystem
[Compiling f_cat.c]
In file included from ../src/bbs.h:485,
from ../src/system.h:3,
from f_cat.c:2:
../src/vars.h:43: error: array type has incomplete element type
../src/vars.h:47: error: array type has incomplete element type
../src/vars.h:48: error: array type has incomplete element type
../src/vars.h:49: error: array type has incomplete element type
../src/vars.h:50: error: array type has incomplete element type
../src/vars.h:51: error: array type has incomplete element type
make[2]: *** [f_cat.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
请帮忙看看,我就改了一下register.c,
【 在 fancyrabbit@newsmth.net-SPAM.no (兔兔猫★Initial F★那些故去的如果的事) 的大作中提到: 】
: 不用重新configure
: 难道你没configure过?那站怎么建起来的 ...
--
FROM 202.121.105.*
先恢复register.c, make一下试试
估计你代码本来就有问题
【 在 xqh@bbs.tongji.edu.cn-SPAM.no (xqh) 的大作中提到: 】
: 当然configure过的。
: 我make的时候报错如下:
: make -s all-recursive
: ...................
--
FROM 159.226.37.*