2022 Developer Survey is open! Take survey.

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
26 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 ...
user avatar
0 votes
1 answer
60 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 ...
user avatar
  • 3
0 votes
1 answer
15 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 ...
user avatar
1 vote
1 answer
38 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 ...
user avatar
0 votes
0 answers
21 views

vsftpd 553 error "Could not create file"

I've tried to upload file to ftp via anonymous user in /var/ftp/pub folder, but I can't to that due to error 553. My /etc/vsftpd/vsftpd.conf is: anonymous_enable=YES local_enable=YES write_enable=YES ...
user avatar
0 votes
0 answers
149 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 ...
user avatar
  • 101
0 votes
0 answers
30 views

using vsftpd to lock users in their home directory...not working

i tried following these guides. https://serverfault.com/questions/544850/create-new-vsftpd-user-and-lock-to-specify-home-login-directory https://linuxize.com/post/how-to-setup-ftp-server-with-vsftpd-...
user avatar
0 votes
0 answers
30 views

vsftpd on mac OS Monterey (12.1) - 553 Could not create file

I've been trying to set up vsftpd on my MBP and I can log in, but I can't upload any file. I get: 227 Entering Passive Mode (192,168,1,69,119,174). 553 Could not create file. Here's the set up: ...
user avatar
  • 101
0 votes
1 answer
133 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 ...
user avatar
0 votes
0 answers
23 views

vsFTPd - user ftp is considered anonymous (centOS)

Installed vsFTPd with the user ftp (for some compatibility reasons I wanna keep this user name). Everything works until I'm trying to use secure FTPS (SSL/TLS). Upon login I'm getting: 530 Anonymous ...
user avatar
  • 1
0 votes
0 answers
120 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 ...
user avatar
  • 1
0 votes
0 answers
288 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 ...
user avatar
  • 101
1 vote
1 answer
53 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. ...
user avatar
  • 111
0 votes
0 answers
165 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/...
user avatar
-1 votes
1 answer
108 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 ...
user avatar
1 vote
0 answers
23 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 ...
user avatar
0 votes
0 answers
42 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 ...
user avatar
0 votes
0 answers
68 views

vsftpd ¿Why does it say: "Resource temporarily unavailable"?

On Debian 10, I'm unable to login on vsftpd service: ftp localhost Connected to localhost.localdomain. 220 (vsFTPd 3.0.3) Name (localhost:root): testing 331 Please specify the password. Password: ...
user avatar
  • 3,939
0 votes
0 answers
29 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....
user avatar
  • 11
6 votes
1 answer
109 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 ...
user avatar
0 votes
0 answers
47 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 ...
user avatar
2 votes
2 answers
318 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 ...
user avatar
2 votes
1 answer
692 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 ...
user avatar
0 votes
0 answers
92 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: ...
user avatar
2 votes
1 answer
26 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 ...
user avatar
0 votes
0 answers
72 views

vsftpd configuration for connection via internal and external ip

I'm trying to connect to my Raspberry Pi via ftp. Raspberrypi has installed vsftpd but I can't connect to it via local address or via ddns (public). I know I must open my router's ports, my firewall ...
user avatar
0 votes
1 answer
124 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 ...
user avatar
  • 1
0 votes
0 answers
238 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 " ...
user avatar
0 votes
0 answers
155 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 ...
user avatar
  • 123
1 vote
0 answers
203 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 ...
user avatar
-1 votes
1 answer
703 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 ...
user avatar
2 votes
1 answer
458 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 ...
user avatar
  • 281
0 votes
0 answers
73 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/...
user avatar
  • 1,708
0 votes
1 answer
958 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?
user avatar
  • 261
0 votes
1 answer
4k 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 ...
user avatar
3 votes
0 answers
763 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 ...
user avatar
0 votes
0 answers
29 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 ...
user avatar
  • 3
0 votes
1 answer
2k 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 ...
user avatar
1 vote
1 answer
209 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 ...
user avatar
0 votes
1 answer
447 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=...
user avatar
  • 3,939
0 votes
1 answer
5k 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:...
user avatar
0 votes
0 answers
105 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, ...
user avatar
  • 101
1 vote
1 answer
2k views

"lftp" on RHEL6 fails to connect to vsftpd on RHEL7

I have configured vsftpd on RHEL7 and i am trying to transfer data to it using lftp from RHEL6. lftp seems to fail after sending the PASS command for anonymous login. ---> USER anonymous <--- ...
user avatar
  • 281
0 votes
1 answer
55 views

Linux - Jail users into their directories

I want to jail users to their directory in /home I tried to use vsftpd with settings: local_enable=YES chroot_local_user=YES But it doesnt work properly. Users still have access to directories ...
user avatar
  • 1
2 votes
1 answer
238 views

A program's output seems to be neither stdout nor stderr? [duplicate]

I got a program vsftpd which output doesn't seem to be either stdout or stderr (if that's even possible?) My terminal output is: ~# vsftpd 500 OOPS: SSL: cannot load RSA private key I tried to ...
user avatar
  • 530
1 vote
0 answers
868 views

vsftpd - add a user with restriction to home directory without ssh access

I need to add a new user on my Ubuntu 18.04 server that can't login on a SSH terminal but has limited SFTP access to his home directory. Here's what I did: 1. I added the following line to /etc/...
user avatar
  • 11
1 vote
1 answer
2k views

Curl FTPS error:1408F10B:SSL routines:ssl3_get_record:wrong version number

I've looked at the related issues but none of them solved my issue. I'm trying to transfer files via ftp using curl to a server in my dmz from an FTPS server on an EC2 server running vsftpd. $ curl ...
user avatar
  • 59
4 votes
4 answers
12k views

How can I check currently installed and in use versions of SSL and TLS?

How can I check currently installed and in use versions of SSL and TLS? Strangely I couldn't find an answer online. Using Ubuntu 18.04. Edit: Thanks all! I am asking this as I have trouble connecting ...
user avatar
  • 59
1 vote
2 answers
50 views

How to give users acces to some other home directories

I'm configuring GNU/Linux users as users for a vsftpd FTP server and I have the following safety constraints: User foo can read and write in his home directory. User bar can read and write in his ...
user avatar
0 votes
1 answer
3k views

vsftpd service does not start saying vsftpd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

I am configuring with Ansible a VM running Ubuntu to run this FTP server: vsftpd, however after the installation when I inspect the logs with journalctl -u vsftpd.service I see: Nov 20 17:49:58 my-vm ...
user avatar
  • 355

1
2 3 4 5