Questions tagged [vsftpd]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Why can I not change the default directory of VSFTPD?

I can't change the upload directory from /home/username to my desired folder. I want to change the default directory to: /home/username/FTP/Notizen But if I add the line local_root=/home/$USER/FTP/...
Arbuiwer's user avatar
0 votes
1 answer
59 views

Would vsftpd not default to using the system username and password?

I downloaded vsftpd-3.0.5.tar.gz and successfully compiled it to generate vsftpd on computer A. Then I copied vsftpd to another computer B and created a new file called vsftpd.conf on computer A. Then,...
ABeginner's user avatar
1 vote
2 answers
37 views

FTP transfer fails unless I open an ssh session with the server

This is a strange issue. I have a centOS 7 based server with vsftpd running as the FTP server. If I use filezilla to copy a file from the centOS box to my local client the transfer fails after ...
John's user avatar
  • 111
0 votes
0 answers
81 views

vsftpd FTP server on Linux

I just installed this FTP server and it works fine. I noticed that the FTP user can read an write their own directory but they can read and download other files also (owned by other users or by system)...
Lilia's user avatar
  • 121
0 votes
0 answers
99 views

What does local_root mean in vsftpd?

The local_root setting in /etc/vsftpd.conf is as below: local_root=/home/$USER/ftp Now connect my vps with sftp: sftp> pwd Remote working directory: /home/ftpuser sftp> ls /home/$USER/ftp Can'...
showkey's user avatar
  • 197
0 votes
0 answers
123 views

Error while installing VSFTPD in passive mode - 500 OOPS: could not bind listening IPv4 socket

I am trying to install and connect to FTPS server (passive mode) locally. I have read similar topics in this community, but still can't fix the problem or find an error in the vsftpd.conf. Firewall is ...
ghostone's user avatar
0 votes
1 answer
391 views

How to enable port 21 with vsftpd

I can connect to my ftp server with port 22. but I think port 21 is not active.: Error: Connection timed out after 20 seconds of inactivity Error: Could not connect to server ufw status Status:...
user254039's user avatar
0 votes
1 answer
104 views

SELinux doesn't let me allow ftpd

I'm in AlmaLinuxOS 9. When I try to run setsebool -P ftpd_full_access on , it sends me a message saying boolean ftpd_full_access not defined. I don't know how could I make it working nor what's wrong.
stackpws's user avatar
0 votes
0 answers
103 views

vsFTPd config error when using local_root=

What I am trying to achieve is the following, vsFTPd server which uses a different directory on a different mounted disk and jails each user to that directory while TLS/SSL is forced. Currently I have ...
Rettercon's user avatar
0 votes
0 answers
255 views

vsftp : understanding passive mode, extended passive mode, and how to configure them

I installed a vsftp server. It works, with command line 'ftp' I can connect to it and upload ('put') files. But if I type 'ls', then it hangs after displaying: Entering Extended Passive Mode (|||<...
Vince's user avatar
  • 123
0 votes
0 answers
422 views

vsftpd throws "Auth command is not supported"

I have been trying to configure vsftpd to support explicit TLS, with no luck so far. the relevant part of vsftpd.conf reads: ssl_enable=YES debug_ssl=YES allow_anon_ssl=YES force_anon_data_ssl=YES ...
Alien Life Form's user avatar
0 votes
1 answer
79 views

vsftpd custom anonymous root folder

The default folder shared for the anonymous user by vsftpd is /var/ftp. This works fine. Now I want to share a different folder. I added this line to /etc/vsftpd/vsftpd.conf: anon_root=/data/downloads/...
user1785730's user avatar
1 vote
1 answer
319 views

Config files not being read

This is a super issue weird that I cannot for the life of me figure out, so would be very grateful for assistance. My home server is an old Mac-Mini with 2 external HDD's in RAID1 using mdadm running ...
user avatar
2 votes
2 answers
6k views

Setting up vsftpd as a sftp server on Ubuntu

I am trying to set up vsftpd (or another application) to serve as sftp service on an Ubuntu server. I would like to expose sftp for one (or a handfull) of system users, ideally they should have a ...
user422005's user avatar
0 votes
0 answers
2k views

VSFTPD 500 OOPS: cannot change directory:/logs

I am getting error 500 OOPS: cannot change directory:/logs while using file zila client to access this directory. My linux kernel version is "4.9.11". I have created a user called log_user ...
karkator's user avatar
0 votes
1 answer
6k views

How can I change the root directory of VSFTPD?

i want that the root of VSFTPD will be /var/www/html. How can I do? This is my configuration file # Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This ...
Paolo's user avatar
  • 3
0 votes
1 answer
114 views

Is there a way to show a banner when you change directory on vsftpd?

I have a vsftpd instance running on my Ubuntu Server. I need to show a banner when users change into a specific directory ie: ftp> cd /cars >>> These cars are for lease Is there any way ...
Rawley Fowler's user avatar
1 vote
1 answer
948 views

How to change directory when user login to a specific directory in vsftpd

I am configuring vsftpd so that when user login it will redirect to a specified directory with read and write permissions in that directory. I have configured the following: Content of vsftpd.conf ...
aphabeta's user avatar
0 votes
1 answer
1k views

vsftpd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

I'm configuring ftp on a linux server. This is my vsftpd.conf listen=NO listen_ipv6=YES anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES use_localtime=YES ...
Razlo3p's user avatar
  • 101
0 votes
1 answer
378 views

clock_gettime error logging into VSFTP on Amazon Linux 2 from certain clients only

We have an FTP server VSFTPD running on AWS Linux 2; users are chrooted. Some users can log on fine, others are getting connection failed in WinSCP and an error in Filezilla. On investigation, the ...
timanderson's user avatar
0 votes
0 answers
849 views

I type in ls or anything in the ftp command line I enter in "passive mode" and then can not do anything

I have a vsftpd server running. Whenever I type in ls or anything in the ftp command line I enter in "passive mode" and then can not do anything. I need to have a working ftp so I can ...
DJ B's user avatar
  • 1
0 votes
0 answers
1k views

Configure vsftpd for specsific Cipher Suites and TLS version

There is a device that I do IoT development needs to connect FTP server to download a file. I'm using vsftpd as an FTP server. The device that I'm using has some limitations. It supports TLS 1.2 and ...
zapoo's user avatar
  • 101
1 vote
1 answer
211 views

Move vsFTPd user to another server

We have a server with many vsFTPd FTP users saved in /etc/vsftpd/users/* and /etc/vsftpd/passwd.db. As me made a new server to split the load, we have to move some of the users to the new server. ...
BDevGW's user avatar
  • 111
0 votes
0 answers
486 views

Debian 11 Server - vsftpd virtual users don't work, permission issue?

I have a Debian 11 VM with vsftpd enabled for my local user. I want to create a virtual, FTP only user (who should be rw limited to their home directory). I followed this https://help.ubuntu.com/...
dustojnikhummer's user avatar
-1 votes
1 answer
341 views

VSFTPD set up in CentOS 7

I am trying to set an FTP server in a VM (CentOS 7). There are no firewalld or iptables services running. I have installed vstpd service and enabled it. Below are the enabled properties in vsftpd.conf ...
BeginnerUnix's user avatar
1 vote
0 answers
69 views

Trouble using VSFTPD service for ftp server on AWS S3

First post on here so I apologize if its in the wrong place or format. So currently I have a working ftp server on aws linux EC2 and S3 with users that can connect via ftp/ftps/sftp . However the way ...
tuyguy98's user avatar
0 votes
0 answers
177 views

How to share home directory in FTP

I installed an FTP server on Linux Debian and fedora computers but when I trying to access to the FTP server with the Local area network it shows me the wrong directory. How to change the ...
Indominus Rex's user avatar
0 votes
0 answers
220 views

Cannot see any files in the directory

I'm on Arch Linux and I've followed this guide from Arch Wiki I'm new to all of these but I've ip address show to access it from my mac to that address by ftp://xx.xx.xx.xx. I've created a simple test....
Kyi Zet's user avatar
  • 11
6 votes
1 answer
378 views

Setting up vsftp

Beginner Hi, So for a school assignment, I have to set up a FTP server (vsftp) on OpenSUSE. The teacher told us to use a chroot list, but whenever I use a chroot list, all users have full control over ...
InnoDB68's user avatar
1 vote
0 answers
154 views

Error: Could not establish data connection: Connection refused

Hi every i used a vsftpd server so this is my configuration and the error output when i test my ftp server online : rsa_cert_file=/etc/letsencrypt/live/2m-partners.tn/fullchain.pem ...
Rayen Ben Said's user avatar
2 votes
2 answers
833 views

vsftp work only without TLS

Hi I installed vsftpd on ubuntu 20.04, at the beginning I tested my FTP server without having secured and it worked fine !! But when I use the TLS certification the server does not work anymore I do ...
Rayen Ben Said's user avatar
3 votes
1 answer
2k views

What's the impact of setting pasv_min_port=pasv_max_port in vsftpd?

I am installing an FTP server vsftpd following this tutorial, which can be summarized as: apt-get install vsftpd Then in Config file /etc/vsftpd.conf uncomment the lines local_umask=022 and ...
Franck Dernoncourt's user avatar
0 votes
0 answers
400 views

Trying to understand vsftpd log

I'm currently learning Linux and using FTP however I can't make sense of the log file any help would be appreciated. root@ubuntu:/var/log# cat vsftpd.log Mon Jan 18 06:39:48 2021 [pid 2] CONNECT: ...
James Highland's user avatar
2 votes
1 answer
125 views

Accessing memory stick wirelessly through vsftpd + WinSCP

To transfer files between a Windows 10 desktop and Linux laptop wirelessly using FTP, I installed vsftpd as the FTP server on the laptop and WinSCP as the FTP client on the desktop, and configured the ...
Petoetje59's user avatar
0 votes
1 answer
440 views

How to change vsftpd to IPv4?

I am setting up two vsftp service running on port 21 and port 990. Can someone show me how I can change it to IPv4 instead of current IPv6? I can't find a way to change the setting to IPv4. Below is ...
Tan Le's user avatar
  • 1
0 votes
0 answers
576 views

Run script in background to send files through ftp

I've made a script that automatically sends a file to another machine via ftp. Only thing you need to do is to input the IP, file name, user and password. #!/bin/bash read -p "Server ip " ...
Nico Nico Pizza's user avatar
0 votes
0 answers
458 views

Enable FTP/port21 on server?

UPDATE: When I remove the ftp_username from vsftpd.conf, I get this error: 500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp I have a RHEL (Red Hat Enterprise Linux) 7 server that ...
ennth's user avatar
  • 133
1 vote
0 answers
547 views

Setting appropiate unix permissions for shared FTP access on WordPress directory

I have two user accounts on my Ubuntu server, one is part of the sudo group and the other is a standard user. For demonstration purposes I will use the following user names: admin_user (sudo group ...
willowen100's user avatar
0 votes
1 answer
2k views

Can't start vsftpd. vsftpd: must be started as root

I can't start my vsftpd, as shown below: guoyanzhang@debian:~$ sudo service vsftpd status ● vsftpd.service - vsftpd FTP server Loaded: loaded (/lib/systemd/system/vsftpd.service; enabled; vendor ...
yanzhang.guo's user avatar
2 votes
1 answer
981 views

vsftpd with "encrypted private key"

I have created a FTPS server using vsftpd. When I use an unencrypted private key, vsftpd works fine. rsa_cert_file=/etc/vsftpd/unenc_cert.pem If I have to use a certificate that contains an encrypted ...
Fazlin's user avatar
  • 281
0 votes
0 answers
649 views

How to find out home directory of a user

I created a FTP user a while ago. How can I find out his root directory? uname -a Linux linuxphp7 4.12.14-lp150.12.82-default #1 SMP Tue Nov 12 16:32:38 UTC 2019 (c939e24) x86_64 x86_64 x86_64 GNU/...
Black's user avatar
  • 2,039
0 votes
1 answer
2k views

Tell vsftpd to log to stdout instead of some file

By default, vsftpd logs to /var/log/vsftpd.log. stdout stays empty when started in foreground and I would like to utilize it so that it is easier. I don't really need to store the logs either. Help?
nomad's user avatar
  • 391
0 votes
1 answer
6k views

vsftp server returning 500 Illegal PORT command when tried to run raw ftp commands in telnet

Currently, I am trying to run ftp commands from telnet client. I was successful with USER, PASS, PASV, LIST and when tried PORT vsftp server is throwing 500 Illegal PORT command. I am following the ...
m0hithreddy's user avatar
3 votes
0 answers
1k views

How to monitor file transfer(upload/download) speed of a file in vsftpd

I'm using vsftpd as the server in my Linux system. In other Linux system, I'm using curl as a client for uploading and downloading files. I am able to monitor the current file transfer rate at the ...
user3559721's user avatar
0 votes
0 answers
204 views

Configuring FTP to allow specific user to do everything and other users to read-only

I have to create a new user for ftp ( vsftpd ), which I already did adduser ftp_user and make directory ftp itself mkdir -p /home/ftp/ Now here is the part I don't fully understand, ftp user needs to ...
Wowy's user avatar
  • 3
1 vote
1 answer
4k views

Ubuntu - VSFTPD configuration for FTP fails on restart

I need to set up a FTP server within my Ubuntu virtual box but im having problems within configuration of the config file within VSFTPD From online tutorials i keep seeing different options being ...
throwaway56786897's user avatar
1 vote
1 answer
407 views

Load testing vsftpd causing high CPU load from unix_chkpwd

I'm working on a proof of concept to replace a samba file share with vsftpd (over TLS). This is not a public file store, and so the need for security is essential. And clients will only write to this ...
Simon Storfors's user avatar
0 votes
1 answer
3k views

vsftpd: 550 Permission denied trying to uploading/writing files

I've created a user jdoe and I wanted to map such a user to apache user. So everytime that I upload a file could be owned by apache. This is my /etc/vsftpd/vsftpd.conf file: listen=YES listen_ipv6=...
sebelk's user avatar
  • 4,339
2 votes
2 answers
11k views

How to fix FTP permission issue?

Have set up an FTP server and user. but it seems I'm unable to upload or edit any file. Even though the user has filled 777 permission. I can't even upload files to the user's root folder. Server OS:...
yoni349's user avatar
  • 31
0 votes
0 answers
346 views

VSFTPD Not listing all directories

I am running into an odd situation where through various FTP clients, VSFTPD does not seem to return all directories in the directory listing. You'll see here in the FTP client that the error, ...
Xenology's user avatar
  • 101

1
2 3 4 5