Jump to content

[SOLVED] FTP not accessible after upgrade to 6.0 beta 14b


master.h

Recommended Posts

So I've been using the same vsftpd.conf settings since I first started up with unRAID back in 5.0 beta 8. Yesterday I just made the jump from 5.0.6 to 6.0b14b, and suddenly my FTP doesn't work. I get prompted for a username and password when trying to connect, so I know it's "working," I just can't authenticate any more. No usernames or passwords were changed. Here is my vsftp.conf file (I should note that I also never had any users listed in the "FTP Users" box on the settings page). Does anyone have suggestions as to how to get FTP working properly again?

 

# vsftpd.conf for unRAID
#
write_enable=NO
connect_from_port_20=YES
anon_world_readable_only=NO
#
# No anonymous logins
anonymous_enable=NO
#
# Allow local users to log in.
local_enable=YES
local_umask=077
local_root=/mnt/user/ExternalAccess
#check_shell=NO
#
# All file ownership will be 'root'
guest_enable=YES
guest_username=root
anon_upload_enable=YES
anon_other_write_enable=YES
anon_mkdir_write_enable=YES
#
# Logging to syslog
syslog_enable=YES
log_ftp_protocol=NO
xferlog_enable=NO
#
# Misc.
dirmessage_enable=NO
ls_recurse_enable=YES

Link to comment

I also see entries in the log file where an FTP connection is made.

 

 

Feb 27 10:08:25 Saidin vsftpd[8816]: connect from 63.77.139.252 (63.77.139.252)
Feb 27 10:08:30 Saidin vsftpd[8845]: connect from xx.xx.xxx.xxx (xx.xx.xxx.xxx)
Feb 27 10:08:32 Saidin vsftpd[8854]: connect from xx.xx.xxx.xxx (xx.xx.xxx.xxx)
Feb 27 10:08:36 Saidin vsftpd[8876]: connect from xx.xx.xxx.xxx (xx.xx.xxx.xxx)
Feb 27 10:08:41 Saidin vsftpd[8905]: connect from xx.xx.xxx.xxx (xx.xx.xxx.xxx)

Link to comment

It looks like I've got it fixed. I copied the stock vsftpd.conf file as dlandon suggested, and went from there. From the stock file, I only changed a few lines. Basically just turned off writing, changed the local root, and disabled the check against vsftpd.user_list.

 

 

# vsftpd.conf for unRAID
#
connect_from_port_20=YES
write_enable=NO
local_root=/mnt/user/ExternalAccess
local_umask=0
#
# No anonymous logins
anonymous_enable=NO
#
# Allow local vsftpd.user_list users to log in.
local_enable=YES
userlist_enable=NO
#userlist_deny=NO
#userlist_file=/boot/config/vsftpd.user_list
check_shell=NO
#
# Logging to syslog
syslog_enable=YES
log_ftp_protocol=NO
xferlog_enable=NO
#
# Misc.
dirmessage_enable=NO
ls_recurse_enable=YES
listen=NO
seccomp_sandbox=NO

Link to comment

It looks like I've got it fixed. I copied the stock vsftpd.conf file as dlandon suggested, and went from there. From the stock file, I only changed a few lines. Basically just turned off writing, changed the local root, and disabled the check against vsftpd.user_list.

 

 

# vsftpd.conf for unRAID
#
connect_from_port_20=YES
write_enable=NO
local_root=/mnt/user/ExternalAccess
local_umask=0
#
# No anonymous logins
anonymous_enable=NO
#
# Allow local vsftpd.user_list users to log in.
local_enable=YES
userlist_enable=NO
#userlist_deny=NO
#userlist_file=/boot/config/vsftpd.user_list
check_shell=NO
#
# Logging to syslog
syslog_enable=YES
log_ftp_protocol=NO
xferlog_enable=NO
#
# Misc.
dirmessage_enable=NO
ls_recurse_enable=YES
listen=NO
seccomp_sandbox=NO

Awesome!  One less thing for me to do on Monday. [emoji106]

 

Glad you got squared away!

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...