HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=33)
-   -   FTP for all sites? (http://www.howtoforge.com/forums/showthread.php?t=59699)

Pida 26th November 2012 10:36

FTP for all sites?
 
Hello,
I need to create one FTP account for all sites in /var/www
It's the best way how to connect our html coders to all sites, maybe.
I wan't to create a SSH users, because our html developers can't using it.

Or is there any way how to create one some account what will has rights only to /var/www/* ?

till 26th November 2012 10:49

In ISPconfig, each website is run under its own Linux user and group for security reasons to separate the sites, so that only one site and not all sites are affected in case that a site gets hacked. A ftp user can be assigned only to one Linux system user, so a FTP user can only access one site and not all sites.

You can change the ispconfig sourcecode to run all sites under one user if security does not matter for you e.g. because this server is run in your intranet without connection to the internet. Take a look at the file /usr/local/ispconfig/interface/web/sites/web_domain_edit.php and change the code in the insert and update functions that sets the web user so that the apache user of your system is used for all sites. Ihavent tested it bit it should work most likely.


All times are GMT +2. The time now is 02:04.

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