谁在红旗下用过proftpd的进来
时间:2004-12-25
来源:互联网
我下载了proftpd-1.2.10.tar.gz安装完以后,又安装了红旗提供的rfftp-1.0-18.i386.rpm这个ftp管理工具,但是运行rfftp后,管理工具不能起动,提示配置文件错误,于是我将file:/usr/share/rfftp/文件夹下
的.proftpd.conf文件覆盖了file:/usr/local/etc/文件夹下的proftpd.conf,ftp管理工具可以运行了,但是ftp服务不能起动,提示
- warning: AuthPAMAuthoritative is deprecated
- Fatal: unknown configuration directive 'DisplayReadme' on line 115 of '/usr/local/etc/proftpd.conf'.
我找到115行内容为
DisplayReadme README*
我将此行注释掉,ftp服务成功开启,但是提示警告
- warning: AuthPAMAuthoritative is deprecated
谁能告诉我,这两次的警告提示是什么意思?为什么红旗的ftp管理工具的配置文件和安装的proftpd配置文件会在不同地方?
的.proftpd.conf文件覆盖了file:/usr/local/etc/文件夹下的proftpd.conf,ftp管理工具可以运行了,但是ftp服务不能起动,提示
- warning: AuthPAMAuthoritative is deprecated
- Fatal: unknown configuration directive 'DisplayReadme' on line 115 of '/usr/local/etc/proftpd.conf'.
我找到115行内容为
DisplayReadme README*
我将此行注释掉,ftp服务成功开启,但是提示警告
- warning: AuthPAMAuthoritative is deprecated
谁能告诉我,这两次的警告提示是什么意思?为什么红旗的ftp管理工具的配置文件和安装的proftpd配置文件会在不同地方?
作者: denghl 发布时间: 2004-12-25
看看proftpd.conf上有AuthPAMAuthoritative的這行配置是什麽?
作者: Beta 发布时间: 2004-12-26
引用:
作者: Beta
看看proftpd.conf上有AuthPAMAuthoritative的這行配置是什麽?
|
AuthPAMAuthoritative on
作者: denghl 发布时间: 2004-12-26
off 咗?陧曼c。
作者: Beta 发布时间: 2004-12-27
配置文件所有内容如下
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "Ftp Default Server"
#ServerIdent on "FTP Server ready."
#ServerAdmin root@localhost
#Set the mode proftpd runs in
ServerType standalone
# Set the default server
DefaultServer on
#AccessGrantMsg "User %u logged in."
#Set the file to display on login
DisplayLogin .ftpmotd
#Set the file to display on quit
DisplayQuit .ftpgoaway
#Don't show welcome message until user has authenticated
DeferWelcome off
#allow root to login
RootLogin On
#Sets default chroot directory
DefaultRoot ~
# Use this to excude users from the chroot
DefaultChdir /
# Use pam to authenticate by default
AuthPAMAuthoritative on
# Do not perform ident nor DNS lookups (hangs when the port is filtered)
IdentLookups off
UseReverseDNS off
# Sets the idle connection timeout,Setting TimeoutIdle to 0 disables the idle timer completely
TimeoutIdle 120
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# Default to show dot files in directory listings
ListOptions "-a"
#Limits the connections per client machine
MaxClientsPerHost 10
# Allow to resume not only the downloads but the uploads too
AllowRetrieveRestart on
AllowStoreRestart on
# This is where we want to put the pid file
ScoreboardFile /var/proftpd.pid
# Set the user and group that the server normally runs at.
User nobody
Group nobody
<Global>
AllowOverwrite yes
<Limit ALL SITE_CHMOD>
AllowAll
</Limit>
</Global>
# Limit WRITE everywhere in the anonymous chroot, allow READ everywhere
<Limit READ>
AllowAll
</Limit>
<Limit STOR>
DenyAll
</Limit>
#allow login from all ip address
<Limit LOGIN>
Order Deny,Allow
Allow from all
</Limit>
# Limit the maximum number of anonymous logins
MaxClients 100 "Sorry, max %m users -- try again later"
# Logging options
TransferLog /var/spool/syslog/proftpd/xferlog.legacy
# Some logging formats
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"
# A basic anonymous configuration, no upload directories.
<Anonymous ~ftp>
User ftp
Group ftp
UserAlias anonymous ftp
DirFakeUser on ftpadm
DirFakeGroup on ftpadm
AccessGrantMsg "Anonymous login ok, restrictions apply."
# Put the user into / right after login
DefaultChdir /
DisplayLogin /.ftpmotd
DisplayQuit /.ftpgoaway
#DisplayReadme README*
# Limit WRITE everywhere in the anonymous chroot, allow READ everywhere
<Limit READ>
AllowAll
</Limit>
<Limit STOR>
DenyAll
</Limit>
# An upload directory that allows storing files but not retrieving
# or creating directories.
<Directory uploads>
AllowOverwrite no
<Limit READ>
DenyAll
</Limit>
<Limit STOR>
AllowAll
</Limit>
<Limit CWD>
Order Deny,Allow
Allow from all
</Limit>
</Directory>
# Don't write anonymous accesses to the system wtmp file (good idea!)
WtmpLog off
# Loggin for the anonymous transfers
ExtendedLog /var/log/proftpd/access.log WRITE,READ default
ExtendedLog /var/log/proftpd/auth.log AUTH auth
</Anonymous>
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "Ftp Default Server"
#ServerIdent on "FTP Server ready."
#ServerAdmin root@localhost
#Set the mode proftpd runs in
ServerType standalone
# Set the default server
DefaultServer on
#AccessGrantMsg "User %u logged in."
#Set the file to display on login
DisplayLogin .ftpmotd
#Set the file to display on quit
DisplayQuit .ftpgoaway
#Don't show welcome message until user has authenticated
DeferWelcome off
#allow root to login
RootLogin On
#Sets default chroot directory
DefaultRoot ~
# Use this to excude users from the chroot
DefaultChdir /
# Use pam to authenticate by default
AuthPAMAuthoritative on
# Do not perform ident nor DNS lookups (hangs when the port is filtered)
IdentLookups off
UseReverseDNS off
# Sets the idle connection timeout,Setting TimeoutIdle to 0 disables the idle timer completely
TimeoutIdle 120
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# Default to show dot files in directory listings
ListOptions "-a"
#Limits the connections per client machine
MaxClientsPerHost 10
# Allow to resume not only the downloads but the uploads too
AllowRetrieveRestart on
AllowStoreRestart on
# This is where we want to put the pid file
ScoreboardFile /var/proftpd.pid
# Set the user and group that the server normally runs at.
User nobody
Group nobody
<Global>
AllowOverwrite yes
<Limit ALL SITE_CHMOD>
AllowAll
</Limit>
</Global>
# Limit WRITE everywhere in the anonymous chroot, allow READ everywhere
<Limit READ>
AllowAll
</Limit>
<Limit STOR>
DenyAll
</Limit>
#allow login from all ip address
<Limit LOGIN>
Order Deny,Allow
Allow from all
</Limit>
# Limit the maximum number of anonymous logins
MaxClients 100 "Sorry, max %m users -- try again later"
# Logging options
TransferLog /var/spool/syslog/proftpd/xferlog.legacy
# Some logging formats
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"
# A basic anonymous configuration, no upload directories.
<Anonymous ~ftp>
User ftp
Group ftp
UserAlias anonymous ftp
DirFakeUser on ftpadm
DirFakeGroup on ftpadm
AccessGrantMsg "Anonymous login ok, restrictions apply."
# Put the user into / right after login
DefaultChdir /
DisplayLogin /.ftpmotd
DisplayQuit /.ftpgoaway
#DisplayReadme README*
# Limit WRITE everywhere in the anonymous chroot, allow READ everywhere
<Limit READ>
AllowAll
</Limit>
<Limit STOR>
DenyAll
</Limit>
# An upload directory that allows storing files but not retrieving
# or creating directories.
<Directory uploads>
AllowOverwrite no
<Limit READ>
DenyAll
</Limit>
<Limit STOR>
AllowAll
</Limit>
<Limit CWD>
Order Deny,Allow
Allow from all
</Limit>
</Directory>
# Don't write anonymous accesses to the system wtmp file (good idea!)
WtmpLog off
# Loggin for the anonymous transfers
ExtendedLog /var/log/proftpd/access.log WRITE,READ default
ExtendedLog /var/log/proftpd/auth.log AUTH auth
</Anonymous>
作者: denghl 发布时间: 2004-12-27
我是建議你試試把
# Use pam to authenticate by default
AuthPAMAuthoritative on
的on改爲off看看怎麽樣。
# Use pam to authenticate by default
AuthPAMAuthoritative on
的on改爲off看看怎麽樣。
作者: Beta 发布时间: 2004-12-28
能不能告诉我这一行是什么意思?为什么要这样改?
作者: denghl 发布时间: 2004-12-28
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28