LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-17-2005, 12:26 PM   #1
lagu2653
Member
 
Registered: Jun 2005
Distribution: Lubuntu 16.04 LTS
Posts: 104

Rep: Reputation: 15
Can't stop anonymous vsftp users


SUSE 9.3 Pro
Eventhough I disabled anonymous users (see vsftpd.conf file below) I'm still able to login to my vsftp server as Username: ftp without any password from my WinXP machine. I restarted the xinet.d service (# /etc/init.d/xinetd restart It usually responds to that.). I'm behind a NAT router. The SUSE box is on 192.168.1.4 and the WinXP box is on 192.168.1.2. I'm using ftp from the shell-window. Konqueror and Firefox caches.

vsftpd.conf:
#######################################################
write_enable=YES
dirmessage_enable=YES
#nopriv_user=ftpsecure
#ftpd_banner="Welcome to FOOBAR FTP service."
#ls_recurse_enable=YES
#deny_email_enable=YES
#banned_email_file=/etc/vsftpd.banned_emails
#hide_ids=YES

local_enable=YES
#local_umask=022
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
#local_max_rate=7200

#anonymous_enable=YES
#anon_world_readable_only=YES
#anon_upload_enable=YES
#anon_umask=022
#anon_mkdir_write_enable=YES
#anon_other_write_enable=YES
#chown_uploads=YES
#chown_username=lagu2653
#anon_max_rate=7200

syslog_enable=YES
#log_ftp_protocol=YES
#xferlog_enable=YES
#vsftpd_log_file=/var/log/vsftpd.log
#xferlog_std_format=YES
#xferlog_file=/var/log/xferlog
#dual_log_enable=YES
#setproctitle_enable=YES

connect_from_port_20=YES
#idle_session_timeout=600
#data_connection_timeout=120
#async_abor_enable=YES
ascii_upload_enable=YES
ascii_download_enable=YES
#pasv_enable=NO
pam_service_name=vsftpd
# listen=YES
 
Old 11-17-2005, 12:49 PM   #2
lagu2653
Member
 
Registered: Jun 2005
Distribution: Lubuntu 16.04 LTS
Posts: 104

Original Poster
Rep: Reputation: 15
anonymous_enable=NO
solved the problem.
 
Old 11-17-2005, 09:54 PM   #3
narmida
Member
 
Registered: Mar 2005
Location: Alphen aan den Rijn , netherlands
Distribution: core
Posts: 57

Rep: Reputation: 15
chroot_local_user=YES

would also be adviseable to jail the users to their own home dir.
 
  


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
Stop anonymous CVSROOT checkout Whitman Linux - Software 0 10-08-2004 06:31 PM
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
anonymous user can't login vsftp java8964 Linux - General 1 08-07-2002 08:40 AM

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

All times are GMT -5. The time now is 07:59 PM.

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