FTP for all sites?

Discussion in 'Developers' Forum' started by Pida, Nov 26, 2012.

  1. Pida

    Pida New Member

    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/* ?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.

Share This Page