LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-07-2003, 01:54 AM   #1
sierra055
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Rep: Reputation: 0
Anonymous mode for vsftpd


Hi,
Im using vsftpd and while I can make a connection fine, when I try to log in as a user I get an error message saying:

530 This server is anonymous only

I have enabled local access and disallowed anonymous access, but I can't log in!

Any help would be appreciated. Thanks!
 
Old 10-07-2003, 01:39 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

Can you post vsftpd.conf
 
Old 10-07-2003, 07:02 PM   #3
sierra055
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks. I'm just using the included conf file, but have disabled anonymous connections and have allowed local ones.

I can still post it if necessary...
 
Old 10-08-2003, 12:43 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Are you running it as standalone or thruogh xinetd?

If you are using xinetd I think that you need the config file to be:
/etc/vsftpd.conf

I tend to use standalone mode - just uncomment the bottom 2 lines in the config then run:
service vsftpd start
 
Old 10-08-2003, 07:35 PM   #5
sierra055
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
I've tried it in both, but currently in standalone.
I have the conf file in the /etc directory, is that where it should be for standalone as well as xinetd?

I'm now getting a new message after making a couple of changes:

500 OOPS: vsftpd: security: 'one_process_model' is anonymous only
Connection closed by remote host.
 
Old 10-09-2003, 12:17 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Can you post vsftpd.conf
 
Old 10-09-2003, 06:24 PM   #7
sierra055
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
anonymous_enable=YES
local_enable=YES
write_enable=YES
#local_umask=022
#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/vsftpd.log
#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.
#banned_email_file=/etc/vsftpd.banned_emails
#chroot_list_enable=YES
#chroot_list_file=/etc/vsftpd.chroot_list
#ls_recurse_enable=YES

listen=YES
 
Old 10-10-2003, 12:30 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try using:
Code:
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
idle_session_timeout=600
pam_service_name=vsftpd
listen=YES
tcp_wrappers=YES
Then restart:
service vsftpd restart

and try again.
 
Old 10-13-2003, 07:20 PM   #9
sierra055
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks. Getting warmer, but now it gives me the error

500 OOPS: could not bind listening IPv4 socket

Any more ideas?
 
Old 10-13-2003, 09:06 PM   #10
sierra055
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Got it! It was still trying to run under xinetd as well as in standalone.

Only problem now is that I can log in under my personal account, but not the main account I want to use for ftp access. Any ideas?

Thanks so much for your help!!
 
Old 10-13-2003, 09:38 PM   #11
sierra055
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Ok.. fixed that too, all working now! Thanks again!!!
 
Old 10-13-2003, 11:00 PM   #12
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
sierra055,

Can you post what you did to fix the problem? Someone else might see this thread and have the exact same problem - your answer may help them. Thanks.

--jeremy
 
Old 10-14-2003, 03:15 AM   #13
sierra055
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
After I used the .conf file that david posted, I had the problem of it vsftp trying to run under both xinetd and in standalone. I removed the files for xinetd and copied the included vsftpd.pam file to /etc/pam.d/ftp and restarted the service. Worked fine.
 
Old 10-14-2003, 12:26 PM   #14
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Good to see you got it going.

Well done!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
vsftpd anonymous login r.stiltskin Linux - Networking 4 03-16-2007 11:19 PM
vsftpd anonymous overwrite lapthorn Linux - Security 3 10-11-2006 11:20 AM
VSFTPD Does not Allow Anonymous Downloads Nervo Linux - Networking 1 08-03-2003 07:13 AM
VSFTPD Does not Allow Anonymous Downloads Nervo Linux - Networking 0 08-03-2003 04:41 AM
vsftpd anonymous uploads BigP Linux - Networking 3 03-07-2003 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:10 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