Article 5HF3Q vsftpd - problem with config.

vsftpd - problem with config.

by
business_kid
from LinuxQuestions.org on (#5HF3Q)
I have vsftpd installed for file transfers, and unsurprisingly, it's not working.

It's just for the local network, so I don't need anonymous. But although I log in, I can't execute any commands at all. 'ls' produces
Code:ls at 0 retrying ...I do have an ftp user, with files & a symlink, but I don't even know what directory I am landed in when I log in. I made this config file, Code:anonymous_enable=YES
local_enable=YES
dirlist_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
download_enable=YES
xferlog_enable=YES
chown_uploads=YES
chown_username=ftp
xferlog_file=/var/log/vsftpd.log
data_connection_timeout=5
nopriv_user=ftp
ftpd_banner=Welcome to RoseViolet's FTP service.
listen=YES
seccomp_sandbox=NOand when it didn't work, I grabbed a "working" config from online, and made the minimum of mods Code:listen=YES
listen_ipv6=NO
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
secure_chroot_dir=/home/ftp
pam_service_name=vsftpd
ssl_enable=NO
force_dot_files=YESBoth produce the same error and refuse any ftp commands. I gather there's a data channel, and a (separate) command channel which complicates the ftp protocol, but I couldn't link that to a config setting. Can anyone spot the obvious gaffes in either config? Thx.latest?d=yIl2AUoC8zA latest?i=xzI9zwFl_kg:E3VbrDwYeiE:F7zBnMy latest?i=xzI9zwFl_kg:E3VbrDwYeiE:V_sGLiP latest?d=qj6IDK7rITs latest?i=xzI9zwFl_kg:E3VbrDwYeiE:gIN9vFwxzI9zwFl_kg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments