Questions tagged [vsftpd]

`vsftpd` is a fast, stable GPL-licensed FTP server for Unix/Linux systems.

"vsftpd" stands for "Very Secure FTP Daemon", and focuses on speed, stability, and security. For more information on vsftpd, including releases and updates, see https://security.appspot.com/vsftpd.html.

367 questions
2
votes
1 answer

Whitelist file type on vsftpd on CentOS

I have CentOS server running on unix, and vsftpd FTP server installed. I did chroot for users and now I'm trying to limit their file type upload. I don't want to use deny_file because deny_file limit only few type (and there so many) + deny_file…
user76583
  • 31
  • 3
2
votes
4 answers

530 Permission Denied when trying to log onto FTP

I recently installed VSFTPD and added a user with the following commands: useradd -G ftpusers -d /var/www someuser passwd someuser I also added someuser to user_list and confirmed that it does not exist in ftpusers. When I try to log in using…
Nick
  • 315
  • 2
  • 7
  • 15
2
votes
2 answers

How Can I Restrict FTP to a Particular Local Group?

I am running the FTP daemon VSFTPD. I'd like to control FTP access by adding users to a group such that only members of the defined group can access the FTP services. I am thinking I can do this by modifying /etc/pam.d/vsftpd, but am not sure how…
Aaron Copley
  • 12,525
  • 5
  • 47
  • 68
2
votes
2 answers

Setting up vsftpd with users locked to specific directory

I setup vsftpd, and changed the chroot settings in the vsftpd.conf file. But how do I make a user able to access only /var/www/html/username_here/ I made the user with useradd, but what's next? Thanks :)
Andrew Fashion
  • 1,655
  • 7
  • 22
  • 26
2
votes
3 answers

CentOS / Redhat: Give file permission for apache and vsftp

I use CentOS 5.5 and Apache Webserver on my dedicated Server. My Folder "/var/www/myWebApp" is owned by apache, so that apache can read, write logs, etc.. But now I would like to use very secure FTP (vsftp) to upload my new files. I used to give…
paskster
  • 301
  • 5
  • 12
2
votes
2 answers

Command to view logged on users in vsftpd?

I am using vsftpd installed on RHEL5. I need to get the current logged on ftp users, so I issued last|grep 'still' but it didn't display the ftp users. What is the command to achieve this?
vnix27
  • 886
  • 2
  • 11
  • 19
2
votes
1 answer

vsftp give user only access to a certain folder

I use CentOS 5.5 and I installed vsftp. I created a user "myUser" and every time I use Filezilla and log with this user I get directed to the users home-folder, but still have access to pretty much all folders. I want to give the user only access to…
paskster
  • 301
  • 5
  • 12
2
votes
1 answer

Impossible to connect to VSFTPD from distant server

My FTP server is a CentOS 5.4 with VSFTPD. When I try to ls after connecting to my server using FTP I get this : ftp> ls 229 Entering Extended Passive Mode (|||12206|) ftp: Can't connect to `000.000.000.000': Connection refused 500 Illegal PORT…
benjisail
  • 1,331
  • 5
  • 19
  • 32
2
votes
2 answers

vsftp upload to permission 777 by default

When I upload something using FTP on my ubuntu server with VSFTP it is defaulting to permission 600, how can I make it go to 777?
Rowan
  • 23
  • 2
2
votes
0 answers

Setting up virtual users with vsftpd

I'm trying to set up virtual users for an FTP server in a Linux box, but I'm not sure if the server I've picked up (vsftpd) can do what I need. My requirements are: The FTP accounts are inside a real Linux user's home directory, let's call it…
PaulJ
  • 151
  • 5
1
vote
2 answers

SFTP error "Received unexpected end-of-file from SFTP server" on CentOS 6

I'm getting this SFTP error "Received unexpected end-of-file from SFTP server" on CentOS 6. I've added a new user below sudo adduser --shell /bin/false paul sudo passwd paul Then edited /etc/ssh/ssh_config to contain this and restarted the sshd…
Mr J
  • 151
  • 1
  • 2
  • 5
1
vote
1 answer

PASV FTP fails for wget/ftp but works for curl/lftp

I have a server running Centos 7 and vsftpd-3.0.3 (installed from source to get the latest version, though everything I describe was also applicable to the vsftpd-3.0.2 version that was previously installed). vsftpd is configured to use passive…
dan
  • 323
  • 1
  • 5
  • 16
1
vote
1 answer

pam_userdb could not open database

In trying to set up vsftpd to use virtual users I hit this problem. I created a database file: db_load -T -t hash -f users.txt /etc/vsftpd/users.db And /etc/pam.d/vsftpd: session optional pam_keyinit.so force revoke auth required pam_userdb.so…
OrangeDog
  • 569
  • 4
  • 20
1
vote
4 answers

vsftpd error: 530 Login incorrect (and various others when trying other solutions on this website)

I know this question has been asked countless times already, but I feel like I've tried every possible solution and none seem to work. Some articles I've read and tried to use: vsftpd error 530 login incorrect occurs with valid credentials and the 5…
JTC
  • 11
  • 1
  • 4
1
vote
0 answers

vsftpd cannot connect with local users

I am using arch linux as a vsftpd server can I cannot log to my local vsftpd server…
dsal3389
  • 111
  • 5