Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-01-2006, 03:01 PM   #1
LQ Newbie
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
Help for vsftpd

Several weeks now i am trying to configure vsftpd under suse 10.0. I have installed the package coming with suse, i have written the script suggested at novel cool solutions so the server will run when tha machine boots and i have editted the config file. But nothing. I suspect is the config file. Can anyone give me a sample of a working config file for anonymous ftp? or any other useful idea
Old 04-02-2006, 06:58 AM   #2
LQ Newbie
Registered: Aug 2003
Location: Delhi , India
Posts: 5

Rep: Reputation: 0

Post your vsftpd.conf file over here.

By default anonymous access is allowed but only for downloading the files not for uploading the files(as per Redhat Linux).

Type the url on ur browser

You will see a directory pub.For allowing the others or anonymous access to this directory you have to change the chmod from 770 to 744 on pub.

I have configured Vsftp on Fedora Core3.


Old 04-02-2006, 08:37 AM   #3
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Rep: Reputation: 31
Ok, dude, just look at the config file.

For vsftpd to run on startup, you don't specify in the vsftpd config file, but in your init script manager or whatever your distro uses, consult distro documentation.

When the server is running, the vsftpd.conf comes into the game:
fire up your favorite editor (vim ) and change these lines:

# Allow anonymous FTP?
# anonymous_enable=NO

# since we are running anonymous, we don't need local users logging in

# Allowing this when anonymous is a BAD BAD BAD idea

# This is the user that ftp will lock into a chroot jail
# and only allow downloads from it's home directory.
# Create this user and set it's home to your ftproot.

# put whatever cool stuff you want here
ftpd_banner=This is my server, enjoy

# set this to where you want to be the document root of your anon login

now save this file and restart vsftpd. It should work.
Old 04-02-2006, 09:41 AM   #4
LQ Newbie
Registered: Aug 2003
Location: Delhi , India
Posts: 5

Rep: Reputation: 0

What error you get when you tried to access your vsftp server


check the logs of vsftp

tail -f /var/log/message
tail -f /var/log/vsftpd

try to login from command prompt or shell
Do you get any error while connecting through command prompt
Did you check the firewall whether port 21 & 20 are open or not and also tcp wrappers host.allow file has the entry for vsftpd


Old 04-02-2006, 10:10 AM   #5
Registered: Mar 2006
Distribution: Fedora Solaris Slackware
Posts: 50

Rep: Reputation: 15
You could also look at man vsftpd.conf for more details, generally the default config file works without any tweaking to start up the server, then if you want to allow certain accesses they're easily set in there.

Also, I've given this link before, but let me look it up again :

That site is great for beginners, I know my teachers back in college pulled a lot of labs from that site and used it for reference.


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 settingd and VSFTPD DEAD BUT SUBSYS LOCKED pc_copat Linux - Newbie 15 11-05-2009 10:31 PM
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 07:24 PM
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
vsftpd & ssl - how do I tell if it's actually vsftpd maintaining the connections?? hunterhunter Linux - General 0 03-27-2006 04:41 PM
VSFTPD with 500 oops :vsftpd: missing argv[0] mole_13 Linux - Newbie 0 05-04-2005 01:05 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration