LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
Help for vsftpd


Hi
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
Thanks
 
Old 04-02-2006, 06:58 AM   #2
ankush174
LQ Newbie
 
Registered: Aug 2003
Location: Delhi , India
Posts: 5

Rep: Reputation: 0
Hey,

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
ftp://urserveraddress/

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.



Regards

Ankush
ankush174@gmail.com
 
Old 04-02-2006, 08:37 AM   #3
atom
Member
 
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
anonymous_enable=YES

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

# Allowing this when anonymous is a BAD BAD BAD idea
write_enable=NO

# Warning: YOU MUST CREATE THIS ACCOUNT.
# 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.
ftp_username=ftp

# 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
anon_root=

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

Rep: Reputation: 0
hey,

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

ftp://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

Regards

Ankush
 
Old 04-02-2006, 10:10 AM   #5
demented_are_go
Member
 
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 :
http://www.linuxhomenetworking.com/w...P_Server_Setup

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.
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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