LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 05-23-2007, 11:45 AM   #1
prashsharma
Member
 
Registered: Sep 2006
Posts: 38
Blog Entries: 1

Rep: Reputation: 15
Anonymous users can still access FTP


Hi,

I have two computers 1 is running on windows XP and 2nd one(Which is FTP server) is running Redhat enterprise version 3.
I have disabled all the entries of anonymous user in /etc/vsftpd/vsftpd.conf file but whenever I tries to access the folder in /var/ftp/pub as an anonymous user I can access it without any problem. How can I restrict the anonymous users to login?

Thanx
Prashant Sharma
 
Old 05-23-2007, 11:57 AM   #2
cougyr
Member
 
Registered: Nov 2003
Posts: 98

Rep: Reputation: 15
Have you got any kind of firewall?
 
Old 05-23-2007, 12:24 PM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
Code:
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
Make sure that line is not commented out, and restart the vsftpd service. Just changing the configuration file doesn't take effect until you've restarted the service with the new config.

Peace,
JimBass
 
Old 05-23-2007, 08:11 PM   #4
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
Hi,

Not sure if you have, but did you add the username to /etc/vsftpd.ftpusers ?

-Kristijan
 
Old 05-23-2007, 10:03 PM   #5
prashsharma
Member
 
Registered: Sep 2006
Posts: 38
Blog Entries: 1

Original Poster
Rep: Reputation: 15
FTP anonymous user still access

No, there is no Firewall installed on the computer and I have already disabled all the anonymous options in vsftpd.conf file, and there is no user added in any file

Thanx
 
Old 05-23-2007, 11:09 PM   #6
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
I'm looking at one of the production boxes here at work.

Code:
[root@devbox ~]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
[root@devbox ~]# cat /etc/vsftpd.ftpusers
# Users that are not allowed to login via ftp
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody
Try add anonymous to the list and restart the ftpd service.

-Kristijan
 
Old 05-26-2007, 09:46 AM   #7
mt83
LQ Newbie
 
Registered: May 2007
Distribution: RedHat 9, ES4, CentOS4
Posts: 16

Rep: Reputation: 0
Put these line under vsftpd.conf
userlist_file=/etc/vsftpd.user_list
userlist_deny=NO

at vsftpd.user_list put user who u want to allow ftp.
 
  


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
[SOLVED] anonymous ftp server and access to vfat mounts mengoshmink Linux - Networking 1 10-24-2010 08:57 AM
FTP+Anonymous Access KrGAce Linux - Enterprise 5 03-05-2007 06:16 AM
Anonymous access ftp using Proftpd mkabia Linux - Networking 2 12-11-2004 05:18 AM
Restricting Anonymous FTP access? Comatose51 Linux - Networking 2 10-06-2003 05:17 PM
ftp says login incorrect - anonymous access works fine?!? wwwgeek Linux - Newbie 2 09-15-2001 01:46 PM


All times are GMT -5. The time now is 12:49 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration