佐藤@山形です。
On Fri, 23 Aug 2002 19:04:17 +0900
votoms <votoms@xxxxxxxxxxxxxxxxxx> wrote:
> MySQLを使った場合anonymous Loginはどうするのでしょうか?
>
> データベースに登録するしかないのでしょうか?
以下のような設定だとftpというユーザとftpというグループをデータベース
に登録すればOKです。
#っていうか、/usr/doc/proftpd-1.2.5/sample-configurations/mod_sql.conf
に書いてあったんすけどね。
<Anonymous ~ftp>
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
--
Name : Hiroshi Satou
E-mail : impreza@xxxxxxxxxxxxx