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! |
Welcome to LQ.
Can you post vsftpd.conf |
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... |
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 |
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. |
Can you post vsftpd.conf
|
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 |
Try using:
Code:
anonymous_enable=YES service vsftpd restart and try again. |
Thanks. Getting warmer, but now it gives me the error
500 OOPS: could not bind listening IPv4 socket Any more ideas? |
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!! |
Ok.. fixed that too, all working now! Thanks again!!!
|
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 |
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.
|
Good to see you got it going.
Well done! |
All times are GMT -5. The time now is 11:34 AM. |