看板FreeBSD
标 题welcome message
发信站中大资管龙猫资讯天地 (Mon Apr 12 13:08:33 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!freebsd.ntu!news.ntu!news.mcu!news.c
这是在proftpd的manual中查到的:
The DisplayLogin directive configures an ASCII text filename
which will be displayed to the user when they initially login.
The filename can be either relative or absolute.
In the case of a relative filename,
the file is searched for in the initial directory a user is placed in
immediately after login (home directory for unix user logins,
anonymous-root directory for anonymous logins). Note: that for jailed logins,
the file must reside inside the chroot()ed file system space.
If the file cannot be found
or accessed, no error occurs
and nothing is logged or displayed to the client.
DisplayLogin supports the same "magic cookies" as DisplayFirstChdir.
但是我还是不知道要怎麽用welcome message耶?
1:一般用vi编好的文字档可以拿来当welcome message吗?ASCII text就是指一般的
文字档吗?
2:编好的welcome.msg到底要放到哪里阿?
这样指定: DisplayLogin /usr/local/proftpd/msg/welcome.msg的话,
每个user login进来的话,proftpd就会去上述地方找,并秀出来吗?
3:这样指定:DisplayLogin welcome 的话,welcome.msg要放在哪里阿?
4:<Global>
....
</Global>
是要哪来干嘛的?
--
◎
龙猫资讯天地(
bbs.mgt.ncu.edu.tw)
◎[
ethylene]From: 228161.D18-228.ncu.edu.tw