当前位置: 技术问答>linux和unix
求一个proftpd+mysql的配置文件(100求救)
来源: 互联网 发布时间:2015-05-23
本文导语: 各位大虾帮忙. 一个proftpd+mysql的配置搞不定. 我的数据表结构如下. create table users( userid text not null, #用户登陆ID; passwd text not null, #用户密码; uid int(10), #用户uid; gid int(1...
各位大虾帮忙.
一个proftpd+mysql的配置搞不定.
我的数据表结构如下.
create table users(
userid text not null, #用户登陆ID;
passwd text not null, #用户密码;
uid int(10), #用户uid;
gid int(10), #用户gid;
homedir text, #用户目录;
shell text #用户shell;
);
proftpd配置文件如下
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
Port 21
Umask 022
SQLConnectInfo proftpd ftp NULL
SQLAuthTypes Backend Plaintext
SQLAuthenticate on
SQLUserInfo users userid passwd uid gid NULL NULL
SQLDefaultHomedir "/home"
RequireValidShell off
SQLAuthenticate on
MaxInstances 30
# Set the normal user and group permissions for the server.
User ftp
Group ftp
AllowOverwrite on
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
DenyAll
我用./sbin/proftpd start没有任何提示,但只要一有人登陆,他就自动关闭.
还有,我不知那个welcome.msg和.message放在那里.
请大虾们明示.
一个proftpd+mysql的配置搞不定.
我的数据表结构如下.
create table users(
userid text not null, #用户登陆ID;
passwd text not null, #用户密码;
uid int(10), #用户uid;
gid int(10), #用户gid;
homedir text, #用户目录;
shell text #用户shell;
);
proftpd配置文件如下
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
Port 21
Umask 022
SQLConnectInfo proftpd ftp NULL
SQLAuthTypes Backend Plaintext
SQLAuthenticate on
SQLUserInfo users userid passwd uid gid NULL NULL
SQLDefaultHomedir "/home"
RequireValidShell off
SQLAuthenticate on
MaxInstances 30
# Set the normal user and group permissions for the server.
User ftp
Group ftp
AllowOverwrite on
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
DenyAll
我用./sbin/proftpd start没有任何提示,但只要一有人登陆,他就自动关闭.
还有,我不知那个welcome.msg和.message放在那里.
请大虾们明示.
|
不要自己创配置文件,copy例子文件,自己在里面修改。
|
proftpd本身就有几个例子阿,你看看他自带的例子,照葫芦画瓢,应该就OK了
|
.Message 放在你要共享给人家的目录下面就可以了。其他的没碰到过,所以没法子帮你了!
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。