Ask Your Question
1

Is there a FIX for vsftpd 500 login error, YET?

asked 2016-01-07 20:30:35 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Using Fedora 23, with vsftpd configured that follows, getting error 500 when I log into /home/$user. Based on documentation this should not be happening as long as chroot and writeable are enabled. However, ... Thoughts?

anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
//anon_upload_enable=YES
//anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
//chown_uploads=YES
//chown_username=whoever
//xferlog_file=/var/log/xferlog
xferlog_std_format=YES
//idle_session_timeout=600
//data_connection_timeout=120
//nopriv_user=ftpsecure
//async_abor_enable=YES
//ascii_upload_enable=YES
//ascii_download_enable=YES
//ftpd_banner=Welcome to blah FTP service.
//deny_email_enable=YES
//banned_email_file=/etc/vsftpd/banned_emails
chroot_local_user=YES
allow_writeable_chroot=YES
seccomp_sandbox=NO
//chroot_list_enable=YES
//chroot_list_file=/etc/vsftpd/chroot_list
//ls_recurse_enable=YES
listen=NO
listen_ipv6=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2016-01-07 20:40:59 -0500

E Net Arch gravatar image
edit flag offensive delete link more
0

answered 2016-01-08 00:17:45 -0500

E Net Arch gravatar image

After executing setsebool, it appears to be working correctly.

setsebool -P ftp_home_dir on

I came across this by viewing: http://askubuntu.com/questions/575523...

Note: if you add local_user=/home to vsftpd.conf, the users will be able to see other user's directories names, not the contents, which could lead to hacking problems.

edit flag offensive delete link more
0

answered 2016-01-07 20:39:11 -0500

E Net Arch gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-01-07 20:30:35 -0500

Seen: 125 times

Last updated: Jan 07 '16