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? |
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 09:07 PM. |