SUS9.3: Anonymous vsftpd not working
Hi! I've configured an ftp server on my machine (SUS9.3), however, it doesn't allow anonymous ftp logins. The error I get is:
OOPS! 500: vsftpd: refusing to run with anonymous writable root The funny thing is that I configured an ftp server on my friend's machine (SUS9.3 still) and it worked. I really can't pin the problem. I can login with normal user accounts. I've attached my vsftpd.conf file (it's kinda long). I did love to see anything I'm missing out. Code:
|
You could try uncommenting the "nopriv_user=ftpsecure" line and creating an ftpsecure user.
I think I had a problem like this once, and the solution was a little weird. vsftpd will refuse to run if the user account it is running under has write access to the ftp root. On SuSE, this means making sure that the ftp user cannot write to /srv/ftp. Instead, create sub directories with the appropriate permissions for uploading. |
Thanks a million. Your solution worked well. Wow! I never knew that was the problem.
|
I don't know specifically why this is the case (the /srv/ftp limitation).
It is supposed to be a security measure. Your welcome a million. |
Iam having the same troubles, this also helped me, thanks. BUT...
Ive created the user, but how do I get the program to run under a another user? and how do I restrict the write permissions? (in the properties of the folder?) also Ive created a /data mount point to hold the ftp shared data, how do I set it up so that this is the ftp root? I know - I know ... dont flame me too hard... I havent used linux as much as I would've liked. |
All times are GMT -5. The time now is 09:17 PM. |