Questions tagged [vsftpd]

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

77 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
2answers
30k views

vsftp user authentication problems

I configured my ftp user's home dir to /var/www and set a password but I cannot login with ftp 127.0.0.1, it keep giving me 530 Login incorrect. Why is this? I'm sure I have typed the password right. ...
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 ...
2
votes
0answers
4k 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 #...
2
votes
0answers
95 views

I am not jailing my users well in VSFTPD (CentOS7)?

I have installed vsftpd and it is working properly, but my problem remains in that I only want to use the /ftp partition, and I have added to the end of the /etc/vsftpd/vsftpd.conf file this: ...
2
votes
2answers
3k views

vsftpd: permit the user see only her/his home directory

I have just installed vsftpd and created a new user: sudo useradd new_user -m. Then I have uncommented the line below at /etc/vsftpd.conf: chroot_local_user=YES to permit the user to see (access) ...
2
votes
1answer
340 views

How to give rwe permissions to root, admin, and user1; in a directory where all files and folders are owned by user1(rwe)

I have a directory called /home/user1. In this directory, is a counter-strike game server that requires the permissions of the folder and all the files in it to be user1 rwe (read, write, execute). ...
2
votes
0answers
1k views

ftp failing to retrieve directory listing

I'm trying to connect to my ftp server but I'm getting Status: Disconnected from server Status: Connecting to 127.0.0.1:21... Status: Connection established, waiting for welcome message... Status: ...
2
votes
1answer
2k views

Two vsftpd instances - check passive port on FTPS

I have configured VSFTPD in a CentOS machine to run on two instances, with vsftpd.conf and vsftpd2.conf. Here the content of the second conf file: anonymous_enable=NO chroot_list_enable=YES ...
2
votes
4answers
10k views

Why can't I access to my ftp server with my local user account?

First of all I'm using Centos 6 server, putty and wordpress.org I followed the instructions from this link to set up vsftpd and ftp in centos server. For the vsftpd.conf file, these were the changes ...
2
votes
0answers
658 views

vsftpd: Passwordless authentication to different directory

I am configuring a vsftpd server and the requirements are: I need a user resourcesadmin with home directory /var/www/resources with password authentication and FTP with write access (already done) I ...
1
vote
0answers
31 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 ...
1
vote
0answers
79 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/...
1
vote
0answers
150 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 ...
1
vote
1answer
760 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"...
1
vote
1answer
475 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. ...
1
vote
0answers
510 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 ...
1
vote
0answers
334 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 ...
1
vote
0answers
45 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 ...
1
vote
2answers
11k 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
0answers
101 views

Log in as unix user using password stored in htpasswd

I know this is possible to log in vsftpd using htpasswd (libpam-pwdfile) but in every tutorials I read, they use virtual user. My users are not virtual, they are local user I added using "adduser" ...
1
vote
0answers
656 views

Authentication vsftpd account using remote LDAP user

I'm trying to authenticate vsftpd from LDAP logins which hosted remotely another server . vsftpd hosted on Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64) amazon aws . from the LDAP server ...
1
vote
0answers
713 views

Copies to NFS server write to mount point, not to mounted drive

I have a drive mounted at /home/ftpuser/uploads, and the /home/ftpuser folder is also exported via NFS. FTP uploads to the uploads folder work as intended. If I unmount the drive, the files disappear, ...
1
vote
0answers
266 views

Denying access to multiple directories in vsftpd.conf

I'm trying to use the deny_file directive to prevent users from accessing several directories inside a local root, using vsftpd. For example, I would like to forbid users from entering inside the ...
1
vote
0answers
2k views

ECONNREFUSED vsftpd on ubuntu 14.04

I am running vsftpd on my Ubuntu 14.04 server. I can easily connect to the ftp server when I'm on the same network and connect to it using its local ip. I use to be able to connect to it using my ...
1
vote
0answers
1k views

vsftpd 2.2.2 - 500 OOPS: priv_sock_get_cmd

I've installed vsftpd to access the machine over ftp however I'm getting the error below: >>> USER username <<< 331 Please specify the password. >>> PASS *********** &...
1
vote
1answer
1k views

VSFTP user login & activity monitoring

We have a linux box that is configured with vsftp for our ftp sessions. Unfortunately, for the last few days, we've found that files served by vsftpd have been lost (deleted). I would like to know: ...
1
vote
0answers
207 views

VSFTPD cutted uploads

Installed VSFTPD v2.3.2 on a Wheezy. When I try to put anything my ftp client (filezilla v3.5.3) it sends the file by parts of 229376 bytes interrupted by deconnexion/reconnexion untill the en of the ...
1
vote
2answers
67 views

FTP and WWW services don't acknowledge connections

I have Lubuntu 14.04 LTS with vsftpd and the lamp stack (apache2, etc.) installed. Everything works fine on the LAN. Externally, the services don't acknowledge connection attempts. I can see packets ...
1
vote
0answers
191 views

Is it possible to edit vsftpd.conf giving ftp access to an user to only a few directories inside the server?

I want to know if a user can access multiple directories in a ftp server and no other directories. I want access to more than 1 directory. I know how to restrict access to a single directory by giving ...
1
vote
0answers
2k views

VSFTPD Configuration with Shared folder in Oracle Linux 6.5

I'm trying to configure VSFTPD, for each user to have a PublicFTP directory, since all users are chrooted, but they still need a central FTP dir. I've created this directory in each of the local ...
1
vote
2answers
1k views

VSFTP local user works, but PAM users Permission Denied

I am attempting to configure vsftp to use PAM to authenticate virtual users on my Arch server. It seems so straight forward, I must be missing something simple. Configuration local user virtualftp ...
1
vote
1answer
3k views

vsftpd: virtual user not able to upload file or create directory

I created 2 virtual users for ftp (vsftpd): bholu1 and bholu2 I wanted bholu1 to have write access, access to make directory and upload permission. For that I have set up the user bholu1 as below but ...
1
vote
0answers
1k views

vsftpd virtual user read permissions

I have a vsftp server that services a read-only public space by anonymous login. It works fine. I need to add a few specific users that will authenticate by username/password and they will have ...
1
vote
0answers
224 views

vsftpd on Ubuntu not obeying filesystem permissions

I'm trying to set an FTP upload to a web root on Ubuntu 12.04 using vsftp. The user has a local account, username_ftp. I changed their home to their web root in /etc/passwd. username_ftp:x:1004:1004:...
1
vote
0answers
2k views

ftp server log to include more information

I am implementing the ftp server on linux box (fedora 11, vsftpd). Everything works good so far but i need Ftp server log files to contain transfer rate information. At the moment when I use "get " ...
0
votes
0answers
20 views

VSFTPD 3.03, Ubuntu 18.04, No Access via Browser

Good day I have a VPS running headless ubuntu 18.04, and vsftpd 3.03. There is one generic user. I connect via ip4. When I log in via filezilla, the system takes me straight to the home directory, ...
0
votes
0answers
13 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 ...
0
votes
0answers
24 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 ...
0
votes
0answers
7 views

Mounted hdd directory is not visible in the ftp client

I am running a vsftpd server in my Virtual Box Oracle Linux 8.1 pointing at location /home/ftpuser/ I have added an extra hdd with the mount point /home/ftpuser/mnthdd in my Virtual box. The issue ...
0
votes
1answer
58 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:...
0
votes
0answers
7 views

FTP timing out when enabling ufw

I created a FTP server using vsftpd. So far, I've got it working using plain FTP. My next goal is to setup SSL/TLS. I have the configuration ready in the config, but first I wanted to get the firewall ...
0
votes
0answers
10 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, ...
0
votes
1answer
69 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 <--- ...
0
votes
1answer
19 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 ...
0
votes
0answers
169 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 ...
0
votes
0answers
34 views

Unable to get vsftpd working with explicit SSL from FileZilla

I am running Debian Buster on my server, and after reading these instructions I have added the following lines to my vsftpd.conf: rsa_cert_file=/etc/letsencrypt/live/***.com/fullchain.pem ...
0
votes
0answers
12 views

How to give and delimite rights for FTP Account in Centos 7

I installed my vsftp server with centos 7 without problem and I created two users (admin and user). Now each account should have a directory. rep_admin for the admin account and rep_user for the user ...
0
votes
1answer
437 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 ...
0
votes
0answers
176 views

How to Use Single-Sign-On/Custom Auth/Django-login Authentication for Linux PAM?

I have a web application and i want to let all my application-users to access vsftpd server with the same login credentials. At any time, single source of truth for authentication should be my web ...
0
votes
0answers
166 views

ssl not working in vsftpd; write:errno=32

this is what i have tried: 1) vsftpd.pem created using the following self-signed certificate: openssl req -x509 -nodes -newkey rsa:4096 -keyout $certname -out $certname -days 365 2) owner/...