Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd April 2011, 21:53
Kozley Kozley is offline
Member
 
Join Date: Mar 2011
Location: Örebro, Sweden
Posts: 41
Thanks: 4
Thanked 1 Time in 1 Post
Question Virtual user FTP - question

Hi!

I have one question about virtual user FTP... as I have documentroot /var/www, there I created two virtual domains and it works perfectly. Now I'm wondering how to create virtual user with FTP access, which FTP client would working best with virtual user? I'm using Apache2.2, MySQL 5.1, PHP5 and Ubuntu 10.04 LTS. Thanks if I get great answer.
Reply With Quote
Sponsored Links
  #2  
Old 5th April 2011, 14:16
Kozley Kozley is offline
Member
 
Join Date: Mar 2011
Location: Örebro, Sweden
Posts: 41
Thanks: 4
Thanked 1 Time in 1 Post
Default

Are anyone know about my question?? It would be nice if let us know of this.
Reply With Quote
  #3  
Old 8th April 2011, 15:30
Smitherines Smitherines is offline
Junior Member
 
Join Date: Apr 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey dude. So you have two websites that you're hosting with Apache? Do you mean your Apache DocumentRoot is /var/www where both of your websites are hosted from? You basically want to have one FTP user to be able to access both website files, right?

Go to your passwd file at /etc/passwd and open that up in your favorite editor. If you look on the left side, you'll see all the users on your system. Find the user you want to access both sites via FTP with and change the first directory set from /home/user to /var/www/ and you should be set! Just reload your FTP software at that point for the changes to take effect.

Last edited by Smitherines; 8th April 2011 at 15:33.
Reply With Quote
  #4  
Old 8th April 2011, 17:06
Kozley Kozley is offline
Member
 
Join Date: Mar 2011
Location: Örebro, Sweden
Posts: 41
Thanks: 4
Thanked 1 Time in 1 Post
 
Default

Yes, DocumentRoot is /var/www where have two website folders who needs to access each user from my websites are hosted. Password on /etc/passwd does not help I think? But I do try to create a user access and change home path to /var/www/first and see if this is work for me. Thanks you for reply!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Slow download from own FTP (vsftpd + proftpd) Overcrook Installation/Configuration 0 12th January 2010 21:41
FTP user with folder limit MaTheRyS General 6 7th November 2009 00:50
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 19:38
Virtual Hosting ProFTPD -- Cant Connect Ftp Serv ibrahimak HOWTO-Related Questions 1 27th December 2007 22:38


All times are GMT +2. The time now is 01:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.