Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [vsftpd]

VSFTPD ("Very Secure FTP Daemon") is an FTP server for Unix-like systems, including Linux.

0
votes
0answers
4 views

httpd virtual host to proxy requests to FTP on another host

I have a host for which I have its public IP address. I'd like to use this public IP to redirect the FTP access to an FTP running on another host. Example: Consider the host for which I have the ...
0
votes
0answers
7 views

Run 2 instances of vsftpd and in the second instance have users accessing to their own home folder

I need to run 2 vsftpd instances, which one is used for admin purposes and the other one for granting access to users (virtual users should be better) who should be able to access only to their home ...
0
votes
1answer
35 views

Why does vsftp return 530 incorrect login?

I started a vsftpd server on my arch linux desktop and then tried to log in to it using using my normal user. But I get "530 Login incorrect" when I attempt to log in: $ systemctl start vsftpd $ ...
0
votes
1answer
20 views

FTP not giving permission for actions for user that has permission

I have a user on my server (Debian) that I will be using for FTP. For a given directory on the file system, he is able to create directories/create files. myuser@debian-server:/storage$ su ...
0
votes
0answers
91 views

VSFTPD refuses to list directory when PASV is enabled

I'm configuring VSFTPD on Ubuntu 18.04 and have followed all the guidelines. It's working OK for plain FTP (insecure), however as soon as I enable SSL/TLS and Passive mode, it connects, but I am ...
0
votes
1answer
311 views

tftp - Error code 1: File not found

I need the correct syntax of tftp to get and put file. My ultimate goal is using busybox tftp (this should be second question), but it failed even trying to test with local Ubuntu tftp client. As you ...
0
votes
0answers
8 views

vsftp on ec2 - not able to list directory with passive mode

I have installed an vsftp on an EC@ Linux instance. I can connect with active mode no problem, but with passive mode I get: Disconnected from server Could not retrieve directory listing Error ...
0
votes
0answers
6 views

vsftp on linux ec2

I have installed vsftp on Linux on an EC2 instance. I need to revoke the list privilege from one of the users. How can it be done? What I need is for the user to be able to upload files but not ...
0
votes
0answers
85 views

Able to Connect to vsftpd server using Windows 7, but getting error using Ubuntu 14.04

I tried connecting to my FTP server (vsftpd/CentOS 7/Alibaba Cloud ECS) from my Window 7 system installed on a VirtualBox using FileZilla, and it seems to be working fine. But in my default system, ...
0
votes
1answer
137 views

Compiling vsftpd on CentOS7, getting “/usr/bin/ld: cannot find -lcap” error

I am in the process of compiling vsftpd, but keep getting this error: [alex@lab vsftpd-3.0.3]$ make gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o \ privsock.o tunables.o ftpdataio....
0
votes
1answer
30 views

Can't set root dir of vsftpd

My Arch Linux 4.20.2 serves files without a problem from vsftpd's default root directory, /srv/ftp/. The only addition I made to the config file at /etc/vsftpd.conf is seccomp_sandbox=NO This gets ...
1
vote
0answers
56 views

FTP: Jail user to Home folder

Using Centos7 and vsftpd I would like to chroot the user "testftp" to his home folder /home/testftp. The client uses WinSCP on Windows. passwd: testftp:x:1001:1001::/home/testftp/:/bin/bash ...
0
votes
1answer
21 views

Deny specific users in VSFTPD

I have Ubuntu 18.04 LTS with VSFTPD. I want to deny certain users from connection via SFTP to my server. So far I have only found Q&A (here on stackexchange and on the internet in general) ...
2
votes
1answer
377 views

Ftp server login error 530 [closed]

I'm trying to build a ftp server, but got stuck with logging problem 530. Here are my configs: vsftpd.conf [root@### vsftpd]# cat vsftpd.conf | grep "^[^#]" anonymous_enable=NO local_enable=YES ...
0
votes
1answer
40 views

vsftp user upload files into moved folder outside of allowed folder

Google VM, centos 7, vsftpd server. I have ftpuser, homedir /var/www/html cat /etc/passwd | grep ftpuser ftpuser:x:1001:48::/var/www/html:/bin/bash from root user I have moved folder /var/www/html ...
0
votes
0answers
178 views

Remote FTP Failing to reach vsftpd on Ubuntu 16

I followed a tutorial to install and configure vsftpd service. Connecting from the local server, but connection is immediately refused from a remote. This is the config file contents: # /etc/vsftpd....
-1
votes
1answer
78 views

vsftpd access to /srv/www/domain.com/somedir

On Ubuntu 16 I am trying to give FTP access to a particular server directory which has files owned by web:www-data to an FTP user. I have changed the users home directory: usermod --home /srv/www/...
0
votes
0answers
27 views

How to set permissions for vsftpd server?

I'm not quite sure how to configure my ftp server: There are several customers of service1. They all should be able to download the software which they need for service1. Customers of service2 should ...
1
vote
1answer
290 views

VSFTPD not listening on Port 21

I just installed VSFTPD on my Ubuntu system, but it doesn't seem to work properly. In the config file i only changed the "local_enable", "write_enable" and "listen" to YES. When I use "netstat -tanp"...
0
votes
0answers
55 views

Home dir of ftp user in /var/www

I am trying to make a web server with Centos 7, I am trying to give access to a certain user in the /var/www dir via ftp making that dir his home directory. I use vsftpd; this is my config file: ...
1
vote
1answer
324 views

Security implications of chroot()

I want to setup a small FTP server for personal use, and decided to use vsftpd for that. I thought that I should enable chroot_local_user, so users are chrooted to their home directory upon login. ...
0
votes
1answer
337 views

PAM Authentication over FTP with Berkley DB

I was trying to implement PAM authentication over ftp using Berkeley DB 6.2.32 and did all the configurations required for virtual user, but still I am facing problem while logging in the ftp server ...
0
votes
1answer
362 views

Using /bin/false with vsftpd - how is it a security issue?

We are using vsftpd with allowed users file. The vsftpd users use FTP (performance reasons), so passwords could be easily stolen. vsftpd "chroot" option is enabled, so the users cannot go out of ...
0
votes
1answer
444 views

VSFTPD Limit user acess to specific folder only

In my application i have folder /LD and one user as test_user. I want to give access to user to only this /LD folder only. But when i try to connect through filezila ftp client then by defualt /LD is ...
0
votes
1answer
372 views

vsftpd files readable by www-data

How do I setup vsftp so that I could have folder where I upload files and those files are readable by www-data? I have created ftp folder at /var/www/test. Made a user and added it to www-data group ...
0
votes
2answers
443 views

Prevent vsFTP auth via AD

I have a very small vm installed, for testing purposes, running CentOS 1708, with vsftp configured. i used https://www.rootusers.com/how-to-join-centos-linux-to-an-active-directory-domain/ to setup ...
1
vote
3answers
188 views

FTP directory listing failed

I created a FTP user for a Linux server and used filezilla to connect with that server. I am seeing login is success but directory listing is failed. Is there any change that I missed ? My vsftpd....
1
vote
1answer
444 views

CentOS 7 on HyperV - Can't Connect via FTP? [closed]

Background I am not a Linux or really even a command line person, but I've been tasked with setting up a Linux server for a company intranet. I've set up a CentOS 7 installation in HyperV on ...
1
vote
0answers
399 views

vsftpd with virtual users and independent directory configuration

I followed the nice tutorial from https://askubuntu.com/questions/575523/how-to-setup-virtual-users-for-vsftpd-with-access-to-a-specific-sub-directory Now If I understood I have 2 things: 1) one is ...
0
votes
1answer
445 views

vsFTPd with Freeradius authentication

EDIT: Ok I actually missed out a log in Syslog, I was hopign it would appear in auth.log or vsftpd.log, but a crucial message was in Syslog: Failed looking up IP address for RADIUS server [2001 (...
2
votes
1answer
214 views

Can't connect to the guest Ubuntu vsftpd server from the host

I have installed Ubuntu server on VirtualBox and set up vsftpd server there. I can connect there with its guest terminal and it works fine. Now the thing is that I am trying to connect to the server ...
0
votes
1answer
2k views

Multiple users to access with read/write permissions to the /var/www directory with vsftpd?

I am running vsftpd as ftp server on Ubuntu 16.04. How can I create multiple users (e.g. user1, user2, user3) all of them with read/write permissions to /var/www giving all folders 755 permission and ...
1
vote
0answers
248 views

SLES 12 - vsftpd with AppArmor in enforce mode, “lftp” error for “ls” command: `ls' at 0 [500 OOPS: setrlimit]

In a virtual machine (VM) with SLES 12 (SUSE Linux Enterprise Server 12), after enforcing ("enforce mode") the AppArmor profile for "vsftpd" to confine it (via the "aa-enforce vsftpd" command), I'm ...
3
votes
1answer
2k views

VSFTPD “Connection Refused” after changing listen_port

I have just setup VSFTP on my Ubuntu 16.0.4 Virtual Machine. When I type ftp localhost it connects fine, but if I add listen_port = 44444 to the vsftpd.conf file and then run ftp localhost then I get "...
2
votes
1answer
309 views

How to add a firewalld rich rule that will allow only 2 FTP connections per minute to the FTP server?

I have used following firewalld rich rule. But it is allowing me more than two FTP connections in a minute. I expected that it could allow only two connections. firewall-cmd --add-rich-rule='rule ...
1
vote
2answers
729 views

Anonymous file and folder permission/owner

I've recently installed vsfptd on my server as I want to offer an ftp to several users. I've decided that everyone would use it as an "anonymous". Every file/folder created/uploaded would however be ...
2
votes
2answers
16k views

How to enable logging (most verbose) for vsftpd?

I'm trying to enable logging for vsftpd so I can see uploads, downloads, and, more specifically, deletion of files; however, I haven't even been able to get normal logging working with a fresh install ...
1
vote
0answers
44 views

Ftp'd files have secure deletion attribute set

I have recently upgraded to a LAMP server running on Centos 7, with vsftpd for uploading files. As a hack, I use the secure deletion attribute to tag certain files to keep track of which ones ...
2
votes
1answer
1k views

Unable to transfer files (put) using ftp or filezilla from windows to ubuntu VM

I've setup a ubuntu 64 bit VM (16.04) using Oracle VirtualBox. Using ftp, I am able to connect to the VM. I am also able to list (ls) the contents of the folder. However I am unable to put files to ...
1
vote
1answer
2k views

Unable to access vsftp server via browser, configured on centos 7

I have configured vsftpd server on centos 7 and it is working pretty well on localhost (centos 7 machine). But when I'm trying to access that ftp server in a browser from a windows machine it is not ...
1
vote
0answers
2k views

vsftpd works with ipv6 but not with ipv4

I am running an ftp server via vstfpd. /etc/vsftpd.conf: listen=YES #listen_ipv6=YES anonymous_enable=NO local_enable=YES write_enable=YES use_localtime=YES xferlog_enable=YES #...
0
votes
1answer
1k views

FTP Permissions in Linux (vsftpd)

Let's suppose I have a user called user1 and his home directory is on: /home/user1. All files on that directory need to be 750 (chmod -R 750 /home/user1). I installed vsftpd so I can manage my files ...
0
votes
2answers
86 views

I use yum to install the vsftpd. Why is it not located in `/etc/rc.d/init.d/`?

My yum source is local iso source, and I use yum install vsftpd -y, I use whereis find the vsftpd: [root@localhost etc]# whereis vsftpd vsftpd: /usr/sbin/vsftpd /etc/vsftpd /usr/share/man/man8/...
1
vote
1answer
6k views

Job for vsftpd.service failed because the control process exited with error code

I can not restart the vsftpd. [root@localhost vsftpd]# service vsftpd restart Redirecting to /bin/systemctl restart vsftpd.service Job for vsftpd.service failed because the control process exited ...
1
vote
1answer
5k views

Change the listening address to IPv4 from IPv6

I use netstat -plnt check the vsftpd deamon, it is listening the IPv6(tcp6) address, so I use the FileZilla can not connect the VM. [root@localhost src]# netstat -plnt Active Internet connections (...
0
votes
3answers
14k views

Centos: VSFTPD not Starting

I have a minimal install of Centos in VirtualBox. I want to run a ftp service to share files between the host and my VM, and then learn about ftp servers. I installed vsftpd and changed the vsftpd....
0
votes
0answers
105 views

How to make chroot work for vsftp when client accesses ftp from a Windows or Mac machine?

I setup vsftp on a server with chroot enabled so that users cannot get out of their home directory. This works when the client accesses the ftp server from a Linux machine. But when a client ...
2
votes
1answer
939 views

curl: (25) Failed FTP upload: 553 to vsftpd docker

I'm running you container and try to send files using curl but it fails. Running the container export FTP_USER="test" export FTP_PASSWORD="test" docker run \ --name mock_ftp_server \ --...
0
votes
2answers
449 views

Configuring VSFTPD over TLS

Intended purpose of the computer is to serve as a FTP over TLS server. HT Bridge report As you can see, the certificate is valid for: ftp.zalohovaniburian.cz I am unsure why FileZilla shows this: ...
3
votes
1answer
920 views

anonymous vs. guest logins in vsftpd?

What's the difference between anonymous and guest logins in vsftpd? Both can be enabled/disabled: anonymous_enable= guest_enable= Both are mapped to a different username: ftp_username= ...