LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-06-2002, 03:02 PM   #1
java8964
LQ Newbie
 
Registered: Jul 2002
Posts: 20

Rep: Reputation: 0
anonymous user can't login vsftp


Hi, I have a question about allowing anonymous ftp login into vsftp server. I have two linux boxes at home, one is Suse 8.0 Pro and one is Redhat 7.3 (I downloaded the ISO from ftp.redhat.com). I tried to set up the vsftp server on red hat. I believed that I read the man and doc very carefully. I only want to set up a ftp server only allow anonymous user to login, upload or download some files. The configure file looks simple. On red hat, I use xinet to start the vsftp. After I modify the configure file and restart xinet, I can't login as anonymous user. It is always return as "login incorrect". I check the vsftp.conf file again, YES,
the anonymous_enable=YES. Then I copied this file to my suse box, which uses inetd to start vsftp. The strange thing is that I can login vsftp use anonymous account on my suse box. How can this happened? OK, let me make sure what is different between these two boxes:
1) OS: Suse 8.0 Pro vs Redhat 7.3
2) start sevice: inetd vs xinetd
3) The vsftpd.conf file are ABSOLETLY the same. Here it is:
anonymous_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
All other parts in the configure file are comment out.
4)On red hat, there two more files under /etc
one is vsftpd.ftpusers with the follwoing user names in it:
root bin daemon adm lp sync shutdown halt mail news uucp operator games nobody
The other file is vsftpd.user_list with following user names in it:
root bin daemon adm lp sync shutdown halt mail news uucp operator games nobody
but even I deleted these two files and restart xinetd, I still can't login vsftp using anonymous account. If I tried another account, it always say this is for anonymous only.

The last thing is that I type some random password for the anonymous account for login. I don't think that will make any difference, because anonymous account's password is just ignored. I don't have any deny_email_enable or banned_email_file setting in the vsftp.conf file.

By the way, I don't have any hosts.allow or hosts.deny problem on this redhat box. If I change the local_enable=YES in the vsftp.conf file, I can login the vsftp as a local account. But the anonymous account is staill rejected by "login incorrect". The vsftp version on both machines are the same: 1.0.1

I don't know why the same vsftpd.conf will get two different result on Suse and Red hat. I want to make anonymous login on vsftp on my redhat box, but I can't figure out why it failed during login. Any hints?


Thanks

Last edited by java8964; 08-06-2002 at 03:08 PM.
 
Old 08-07-2002, 08:40 AM   #2
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
check your passwd file on the red hat box, there must be a user 'ftp' listed for anonftp to work.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftp.conf slackware -- local user login Pozican Linux - Software 3 05-08-2005 10:03 AM
how to establish ftp server with proftp to allow anonymous user login icoming Linux - Networking 3 10-12-2004 10:38 AM
vsftp anonymous downloads tgallina Linux - Networking 0 07-22-2004 10:43 AM
vsftp anonymous read access kwilliams0 Linux - Software 2 08-19-2003 04:57 PM
anonymous upload with vsftp rachuba Linux - Software 0 12-29-2002 06:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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