Articles of proftpd

PROFTPD – 为什么权限被拒绝?

我已经在我的服务器上安装了proftpd,我试图连接到服务器,但我得到的LOGIN不正确。 我已经看到了日志,我发现这个: Apr 26 13:02:39 vmi **** proftpd [16738] vmi *****。*********。com(********* [:: ffff:。 * ]):注意:无法使用'〜/'[parsing为'/home/lighttpd/vhosts/mywebsite.com/web/']:权限被拒绝 / home / lighttpd / vhosts / mywebsite / web的权限为: drwxr-x— 2 mywebsite.com mywebsite.com 4096 2011-04-26 12:04 web PROFTPD以proftpd:proftpd权限运行。 为了解决这个问题,我已经将proftpd用户添加到mywebsite.com组。 看看/ etc / group mywebsite.com:x:1003:proftpd 所以我已经将proftpd添加到组中,并将RW权限设置为/ web目录。 我不明白为什么我得到拒绝。

Proftp错误信息致命:'/etc/proftpd/proftpd.conf'行22上的未知configuration指令'DisplayFirstChdir'

对不起,新的因素,但我想build立一个服务器使用本指南: http://www.intac.net/build-your-own-server/ 我在第5步的结尾,当我尝试重新启动proftp我得到以下错误信息 me@me-desktop:~$ sudo service proftpd restart * Stopping ftp server proftpd [ OK ] * Starting ftp server proftpd Fatal: unknown configuration directive 'DisplayFirstChdir' on line 22 of '/etc/proftpd/proftpd.conf' [fail] 任何线索如何改变22号线?

如何使用proftp和xinetd禁用普通FTP?

我在VPS上使用CentOS版本6.4。 它使用xinetd运行proftp 我find了configuration文件 /etc/proftpd.conf /etc/xinetd.conf /etc/xinetd.d/ftp_psa 我想禁用普通的FTP,但需要保持FTPS 。 所以一个ftp客户端试图通过普通的FTP启动连接,不应该被允许。 如何做到这一点?

只有在debian上与proftpd的FTP

有没有办法阻止所有正常的FTPstream量,只允许sftp协议在sftp? 编辑:对不起,我的坏! 为了安全的FTP我必须使用FTP协议…

将proftpd仅绑定到localhost

我如何configurationproftpd只监听127.0.0.1上的连接? 如果我设置 DefaultAddress localhost 在/etc/proftpd/proftpd.conf中 并重新启动proftp我仍然能够从另一台计算机login… 这是错误的select? 或者,这只是一个愚蠢的用例,除了我以外,没有人会需要这样的function?!?

麻烦proftpd – postgres集成

我现在还不能张贴图片,所以我会尽我所能来简洁地解释一切。 我有一个ProFTPd安装工作。 现在我试图通过postgres路由authentication。 有一个包含webapp用户表的数据库。 这将理想地允许webapp用户使用他们的webapp证书login到FTP。 以下是proftpd.conf文件中的相关设置: LoadModule mod_sql.c LoadModule mod_sql_passwd.c LoadModule mod_sql_postgres.c #Begin SQL configuration #mod_sql_password parameters SQLPasswordEngine on SQLPasswordEncoding hex #mod_sql base configuration SQLEngine on SQLBackend postgres SQLConnectInfo [database_name]@localhost:5432 [SELECT name] [password] SQLAuthTypes SHA1 SQLAuthenticate users SQLLogFile /var/log/proftpd/sqlLog.txt “SELECT name”帐户是在webapp用户表上被授予SELECT权限的帐户。 我可以使用从命令行login该用户 psql -d [database_name] -U [SELECT name] -W 然后在proftpd.conf文件中input相同的密码。 当我尝试连接时,它会生成以下日志文​​件数据: Feb 21 10:20:00 mod_sql/4.2.5[43238]: […]

我如何处理在auth.log中的proftpd消息“错误设置IPV6_V6ONLY:协议不可用”?

我在/var/log/auth.log以这种forms得到了很多错误消息: myserver.de (::ffff:11.22.33.44[::ffff:11.22.33.44]) – error setting IPV6_V6ONLY: Protocol not available 我应该如何处理这些? 我应该在什么地方启用IPV6吗? 或者我应该抑制这些消息? (我正在使用debian-squeeze)

在NAT之后的proFTPd w / MySQL Auth – 无法检索目录列表

我正在我的CentOS Linux虚拟机(这是后面的NAT)上运行proFTPd。 这是我到目前为止的proftpd.confconfiguration: http : proftpd.conf 当我连接到FileZilla客户端的FTP帐户时,我得到以下内容: Status: Connecting to 109.xxx.xx.xxx:2121… Status: Connection established, waiting for welcome message… Response: 220 FTP Server Ready. Command: USER exampleuser Response: 331 Password required for exampleuser Command: PASS ****** Response: 230 User exampleuser logged in Command: SYST Response: 215 UNIX Type: L8 Command: FEAT Response: 211-Features: Response: MDTM Response: […]

告诉proftp只允许在PostgreSQL中有权限的用户连接

我试图设置一个ftp服务器(在Debian Squeeze ),在searchGoogle之后,我决定使用proftp 。 注意:我有一台PostgreSQL服务器运行在ftp所在的同一台机器上。 我现在有一个关于虚拟用户的问题。 看一些如何的,我认为设置FTP的最佳方式是使用虚拟用户,但所有这些howto的我发现创build一个新的数据库来存储login名/密码信息,而我想proftpd只允许连接到那些拥有PostgreSQL权限的用户。 我的意思是, 只对那些列出的用户这样做 : # su – postgres $ psql $ \du 我已经根据需要修改了sql.conf文件,但是我不知道如何处理最后的部分: <IfModule mod_sql.c> SQLBackend postgres SQLEngine on SQLAuthenticate on SQLAuthTypes Backend Crypt #SQLConnectInfo [email protected] proftpd_user proftpd_password # # Describes both users/groups tables # #SQLUserInfo users userid passwd uid gid homedir shell #SQLGroupInfo groups groupname gid members # […]

在ProFTPD中安装StartSSL证书

我目前在ProFTPD中安装一个StartSSL证书时遇到一些麻烦。 这些是我有的文件: cert.pem – certificate file cert.key – corresponding key file sub.class2.server.ca.pem – intermediate certificate ca.pem – root certificate 在Apache中,我有以下configuration工作正常: SSLCertificateFile cert.pem SSLCertificateKeyFile cert.key SSLCertificateChainFile sub.class2.server.ca.pem SSLCACertificateFile ca.pem 我应该如何为我的指定证书configurationProFTPD? 无论我尝试什么,我都会得到证书链不完整或者最后一个证书(根证书)是自签名的错误。 我尝试将cert.pem单独放在TLSRSACertificateFile和TLSCACertificateFile中的链+根证书,我尝试将根放在TLSCACertificateFile和TLSCertificateChainFile中的链中,我尝试将根放入TLSCACertificateFile和TLSRSACertificateFile中的cert +链,没有任何工作。 任何帮助,将不胜感激。