-   Linux - Newbie (
-   -   How do I enable ftp access to my site? (

imsam 12-07-2004 09:28 PM

How do I enable ftp access to my site?

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 ( using the new account I created for FTP access, I automatically FTP into the /var/www/html folder?

Draygo 12-08-2004 12:04 AM

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.

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