LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 11-03-2007, 09:39 AM   #1
dperryr
Member
 
Registered: Oct 2007
Posts: 30

Rep: Reputation: 15
Vsftp Service


Does anyone know how to configure the VSFTPD service in Fedora 6? Also how do you make the service start at boot and make sure users are able to log in to ftp?
 
Old 11-03-2007, 10:15 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
how you configure it depends how you want it to work... install with "yum install vfstpd" but past that you need to read the documentation for it.
 
Old 11-03-2007, 11:59 AM   #3
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Re: Vsftp Service

If you want to start the service at boot, the Red Hat based distro syntax is
Code:
# chkconfig --levels 2345 vsftpd on
Configuring it properly will require reading the man pages and perhaps forum posts. You will probably find the configuration file in either

Code:
/etc/vsftpd.conf
or
Code:
/etc/vsftp/vsftpd.conf
 
Old 11-03-2007, 03:04 PM   #4
dperryr
Member
 
Registered: Oct 2007
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by David1357 View Post
If you want to start the service at boot, the Red Hat based distro syntax is
Code:
# chkconfig --levels 2345 vsftpd on
Configuring it properly will require reading the man pages and perhaps forum posts. You will probably find the configuration file in either

Code:
/etc/vsftpd.conf
or
Code:
/etc/vsftp/vsftpd.conf

Thanks this is what I was looking for. Decided to go out and buy a book today on Fedora 6 so I actually understand the commands listed here.
 
Old 11-04-2007, 11:51 AM   #5
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Re: Vsftp Service

Glad we could help. If you have problems configuring it, please continue posting your questions here. If necessary, I can install vsftp on my Fedora Core box and see what you would need to do to configure it the way you want.
 
Old 11-05-2007, 09:03 AM   #6
dperryr
Member
 
Registered: Oct 2007
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by David1357 View Post
Glad we could help. If you have problems configuring it, please continue posting your questions here. If necessary, I can install vsftp on my Fedora Core box and see what you would need to do to configure it the way you want.
Actually I ran into a huge issue that took me a while to resolve it. I got the ftp server installed and working but when I tried logging in a local user I got an Oops: 500 error telling me Fedora couldn't change to the home directory and then it aborted the ftp session. I searched these forums and found this fix.

This was the error ----

500 OOPS: cannot change directory:/home/<username>
Login failed.

And this was the fix ----

/usr/sbin/setsebool -P ftp_home_dir 1

Ran this from the command line and took care of the issue. I also noticed this was a common error on a lot of Fedora machines. I found a lot of posts (other places) of people having the issue but only found the fix listed in these forums.
 
Old 11-05-2007, 10:48 AM   #7
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Re: Vsftp Service

Thanks for taking the time to post that little gotcha. This will save countless other vsftp users a lot of time. Kudos for being a good netizen.
 
  


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
How to make TCP server a daemon / service much like a dhcpd service? rajat Linux - Networking 1 05-22-2007 02:29 AM
how to add service in service list akamol Linux - Software 2 07-20-2006 02:37 AM
LXer: Telsasoft, a Telecommunications Service Assurance Software Company Based in Minneapolis, Minnesota Received Order for a Set of GSM CDR (Call Detail Record) Reports from a Regional GSM Network Service LXer Syndicated Linux News 0 01-03-2006 10:46 PM
Making a service as a system service Dakkar SUSE / openSUSE 2 07-13-2005 08:36 AM
/sbin/service is empty every weekend and changed to service.1 LineS Linux - General 0 05-24-2004 03:08 AM


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