LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 12-07-2004, 09:28 PM   #1
imsam
Member
 
Registered: Dec 2003
Posts: 64

Rep: Reputation: 15
Question How do I enable ftp access to my site?


Hi,

I setup apache and turned on vsftpd service on my server running Scientific Linux. Now I'd like to have FTP access to my site. How do I configure that?

I realize the root account doesn't have ftp access so I created a new user account. So, now I need to give that user access to web site's folder which is /var/www/html

How do I set up the system so that when I ftp into my domain (ftp://www.MyDomain.com) using the new account I created for FTP access, I automatically FTP into the /var/www/html folder?
 
Old 12-08-2004, 12:04 AM   #2
Draygo
Member
 
Registered: May 2004
Location: Frisco, TX
Distribution: Debian Unstable
Posts: 73

Rep: Reputation: 15
Easiest think i can think of is to allow user logins for vsftp. The that specific user change their home directory in /etc/passwd to be your doc root. You also might want to chroot for vsftp so your doc root will be seen as / and won't be able to get out of it.
 
  


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
Ftp(through web site access to ftp server) kelper Linux - Software 3 01-11-2006 07:03 PM
ftp access to web site hosting dbtx Linux - Enterprise 2 05-13-2005 03:07 PM
How do I FTP enable a website? imsam Linux - Newbie 3 11-29-2004 04:05 PM
FTP site guyd Linux - Newbie 2 08-06-2003 02:58 PM
how to enable FTP service? hedaPrakash Linux - Newbie 7 07-17-2003 10:36 PM


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

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