我在vsftpd.conf中启用了这个function chroot_local_user = YES chroot_list_enable = YES chroot_list_file =的/ etc / vsftpd.chroot_list user_config_dir =的/ etc / vsftpd_user_conf 这里是在vsftpd_user_conf目录中设置的用户 ftpupload: local_root = / MNT /上传 但是/ mnt / upload从另一个目录挂载 / mnt /上传/ opt / uploadtypes无(rw,bind) 这是/mn/upload的列表 rough_images / 鞋,彭特兰/ 供应商上传/ 射击/ 另外, shooting/目录从另一个地方挂载 / mnt / upload /拍摄于/ mnt /拍摄none(rw,bind) 现在是这个问题。 当我使用ftp客户端移动目录之间的文件,但失败。文件可以移动除了shooting之外的任何目录。 权限是正确的。 我可以通过使用su ftpupload在这些目录之间移动任何文件。 这意味着vsftpd不支持mount […]
我有一个带有httpd和vsftpd的centos 6.2的服务器。 我在/ var / www中有几个网站,我想为每个站点添加一个ftp用户。 我的user1主目录是/ home / user1,可以从ftp读取/写入文件夹。 (这是我用来SSH和几乎所有的用户) 我把user2设置在/ var / www / site2和bash设置/ bin / nologin(因为我希望它只是一个ftp用户) 我可以使用user2loginFTP并下载文件,但是我无法上传文件或mkdir … 许可是: 为/ var / www: drwxrwxr-x. 13 root root 4096 Aug 21 14:08 . 为/ var / www / site2: drwxrwxrwx. 2 user2 user2 4096 Aug 21 14:35 site2 (777只是为了testing…) 我的vsftpd.conf是: anonymous_enable=NO local_enable=YES […]
我试图从远程托pipe另一台服务器的LDAPlogin身份validationvsftpd。 在Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64)上托pipe的vsftpd Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64) amazon aws。 从LDAP服务器我有这些细节。 user : cn=demo,dc=ldap,dc=foobar,dc=com Password : testpasswd Base DN : dc=ldap,dc=foobar,dc=com User Base : ou=user,dc=ldap,dc=foobar,dc=com 和一个ca_serv.pem来validation包含在/etc/ssl/certs/ ,并将对/etc/ldap/ldap.conf引用添加/etc/ldap/ldap.conf TLS_CACERT /etc/ssl/certs/ca_serv.pem 我的/etc/pam.d/vsftpd是这样的。 # Standard behaviour for ftpd(8). auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed # Note: vsftpd handles anonymous logins on its […]
我在我的VPS上运行Ubuntu Linux,并且我已经设置了VSFTP来轻松地pipe理对用户的FTP访问,只对给定的文件夹。 该文件夹位于/var/www/html/ 系统上的用户(称为account (例如)可以通过FTPlogin,查看设置为默认“home”的目录以及chroot所在的目录。 但是,由于权限的限制,任何文件事务都将失败(写入操作)。 所以我检出了这个文件夹,结果是www-data:www-data拥有它。 所以我做了: sudo usermod -a -G www-data account将帐户添加到用户组,并以这种方式访问相同的权限。 我也尝试将帐户设置为我想要的目录的所有者 root@serverhost:/var/www/html/gpx/_SERVERS/accounts/accountname# ls -li total 4 3253350 drwxrwxrwx 7 www-data account 4096 Oct 12 15:07 Folder.I.Want.Acc.To.write.in root@serverhost:/var/www/html/gpx/_SERVERS/accounts/accountname# 正如你所看到的,权限和所有权都应该表明“帐户”用户应该能够写入并在那里进行更改。 但通过FTP,拒绝550错误的权限到达。 任何想法该怎么办? 编辑: 这个问题必须与FTP相关,因为我只能通过SSHterminal在我想要的文件夹中创build一个新目录。
当我想通过ftplogin时,有时会出现错误。 错误是500 OOPS: setuid 。 我无法弄清楚为什么有时会发生这种情况,但有时却不行。 我已经把每个用户的进程限制为无限制,但是这仍然发生。 我正在运行Fedora Core 10。
在一个vsftpd服务器环境中,共享来自nfs挂载点的各种目录,我可以毫无问题地login,但是当我发送第一个“ls”时,vsftp给了我目录列表: lftp [email protected]:~> ls -rw-rw-rw- 1 1160 1016 392 Jun 06 09:28 test.gif 但不能再给我壳(lftp客户端)。 在服务器日志中,我可以看到最后一条消息是: "150 Here comes the directory listing." 为什么会这样呢?
我想设置一个匿名的FTP服务器(能够上传文件)。 这是我的configuration文件: listen=YES anonymous_enable=YES anon_root=/var/www/ftp local_enable=YES write_enable=YESr. anon_upload_enable=YES anon_mkdir_write_enable=YES xferlog_enable=YES connect_from_port_20=YES chroot_local_user=YES dirmessage_enable=YES use_localtime=YES secure_chroot_dir=/var/run/vsftpd/empty rsa_cert_file=/etc/ssl/private/vsftpd.pem pam_service_name=vsftpd 但是,当我尝试连接它: kan@kan:~$ ftp yxxxng.bej Connected to yxxx. 220 (vsFTPd 2.3.5) Name (yxxxg.bej:kan): anonymous 331 Please specify the password. Password: 500 OOPS: vsftpd: refusing to run with writable root inside chroot() Login failed Can anyone help ?
这里有新手, 我有一个使用vsftpd的服务器。 我使用“passwd aa”从root帐户中更改了用户“aa”的密码,该密码更改了用户“aa”的SSH密码,但不是他的FTP帐户。 我似乎无法find有关更改vsftpd密码的其他信息。 有小费吗?
我有一个VPS在CentOS 6.4上运行vsftpd v3.0.2。 当我尝试连接到我的FTP服务器,我得到的错误: The data connection could not be established: EHOSTUNREACH – No route to host 连接尝试的控制台: Status: Connecting to xxx.xxx.xxx.xxx:21… Status: Connection established, waiting for welcome message… Response: 220 snapd.server01 FTP Server Command: AUTH TLS Response: 234 Proceed with negotiation. Status: Initializing TLS… Status: Verifying certificate… Command: USER web01 Status: TLS/SSL connection established. […]
我目前正在尝试设置一个使用SSSD通过Active Directory进行身份validation的FTP服务器。 我的configuration文件如下: 的/ etc / VSFTPD / VSFTPD: [root@StudentOrgFTP vsftpd]# cat vsftpd.conf anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES xferlog_std_format=YES listen=YES pam_service_name=vsftpd userlist_enable=YES userlist_log=YES tcp_wrappers=NO chroot_local_user=YES session_support=YES /etc/sssd/sssd.conf [sssd] domains = WORK services = nss, pam config_file_version = 2 [pam] offline_credentials_expiration = 5 [nss] [domain/WORK] description = Work domains enumerate = false id_provider = […]