welcome message
這是在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
討論串 (同標題文章)
完整討論串 (本文為第 1 之 2 篇):
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章