LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-02-2013, 09:18 AM   #1
jhthjames
LQ Newbie
 
Registered: Jul 2013
Posts: 1

Rep: Reputation: Disabled
vsftpd anonymous login


I am setting up a vsftpd server (in centos) which allows anonymous READ/WRITE.Here is my configuration
Code:
anonymous_enable=YES
local_enable=YES
write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/xferlog
xferlog_std_format=YES
ftpd_banner=Welcome to blah FTP service.
listen=YES
pam_service_name=vsftpd
userlist_enable=NO
tcp_wrappers=YES
anon_root=/var/ftp/
In my /var/ftp/ folder. The permission is set to 777 which is owned by root. When i tried put /file/path/here.txt I am getting 553 error. Are there any setting that i am missing?
 
Old 07-02-2013, 10:02 AM   #2
Linux MR
Member
 
Registered: May 2013
Location: Pacific North West
Distribution: Red Hat, Scientific, Fedora, openSuSE, Mageia, Mint, Arch
Posts: 57

Rep: Reputation: Disabled
your configs look okay.
could it be a selinux issue?

if you're selinux is activated
Quote:
(# sestatus)
I would suggest leaving it on and checking the booleans, I'm guessing the allow_ftpd_anon_write is off.
Quote:
(# getsebool -a | grep ftp)
enable that and see if that works
Quote:
setsebool allow_ftpd_anon_write=on
Hope that helps
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] 500 OOPS: vsftpd: refusing to run with writable anonymous root: Anonymous Login sanjay87 Linux - Server 5 08-14-2012 01:28 AM
vsftpd anonymous login r.stiltskin Linux - Networking 4 03-16-2007 11:19 PM
SUS9.3: can't do vsftpd anonymous login fisayo SUSE / openSUSE 1 11-16-2005 11:39 PM
vsftpd problems with anonymous login checta Linux - Networking 7 06-30-2004 09:25 AM
Anonymous AND Normal Login with VsFTPd Fussi Linux - Networking 1 06-18-2004 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration