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/* ?
Posts: 31,905
Thanks: 693
Thanked 4,195 Times in 3,211 Posts
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.
Recent comments
1 day 3 hours ago
1 day 10 hours ago
1 day 14 hours ago
1 day 16 hours ago
2 days 27 min ago
2 days 9 hours ago
2 days 10 hours ago
2 days 14 hours ago
2 days 18 hours ago
2 days 19 hours ago