Hello, I need to create an FTP user which has rights to all web for a client. When I create the FTP user in ISPconfig under Options Tab I can set the directory. ISPConfig does it set automatically for the web like this /var/www/clients/client15/web30 However I would like to give the FTP user full access to all client webs like /var/www/clients/client15 If I change it, ISPconfig complains. Is there a way from the backend to do this? Thanks Fafa24
It is an option, but I need to login with an FTP client. I would prefer port 21, since port 22 is closed.
You know that you don't have to use port 22 for ssh and you can always port forward if you are behind a router, right?
Yes I know. actually on this server port is set to a different on. But I like to give the client normal FTP access with prt 21. So the question remains, is there a way to change access rights for an FTP user created with ISPconfig? Installed is pure-ftpd. Thanks, Edy
This option cannot exist as each website has it's own Linux user for security reasons, so there cannot be one user to access multiple websites. If you want to have multiple sites under the same user, create them as vhost alias domains in ISPConfig instead of creating a new website.
Thanks - Would it be possible to create a pure-ftpd user not in ISPconfig and assign right to the client folder? The server is Ubuntu 18.04
An FTP user cannot be multiple Linux users at the same time, this is not ispconfig specific and it does not matter if you create an FTP user in ISPConfig or manually for that. An FTP user is always mapped to one Linux user and when each website has its own user, then an FTP user cannot access more than one website. I posted above already what you have to do if you want to run multiple vhosts under the same user.
I understand - even thought that I have already set up all the website for the client. Could I in additional create aliadomain? Would that work?
A domain can exist only once in the apache or nginx config, so you can not create it again as vhost aliasdomain unless you delete the website which currently uses that domain first. and please not, I'm talking about aliasdomain (vhost) here and not just aliasdomain, that's two different things. Alias domain (vhost)'s are available in the sites module menu after you enabled them under system > interface config.
there was a discussion on the forums here about setting up a single ftp account with access to multiple websites by remapping user id's via bind mounts - it should work, though I've not tried that specifically offhand (I've done similar remapping for other purposes), and of course ispconfig doesn't set that up for you, it'd have to be manual (or scripted or via a custom server plugin)