Hi ! Is it possible to add a specific user allowed to read/write by FTP in a specific folder inside ISPConfig ? I know it cannot be done with the current version and the control panel, but can I modify directly my /etc/passwd to add the user, then let him access by proftpd ? I host several small website (without domains for them, only subfolders on my domains), I just want to permit access to them to the end user... Thanks !
You can add the user manuall to /etc/passwd and /etc/shadow, then bloch the username in ISPConfig by adding it to the file /home/admispconfig/ispconfig/users
Adding a user for specific FTP folder. Hi Till, Sorry for the delay, I managed to get the user working now. Following your directions, from a root prompt : 1. adduser webx_specificuser 2. gave real name and password 3. edited /etc/passwd to change the :/home/webx_specificuser to reflect my correct path (ie : /var/www/webx/web/myspecificfolder/) 4. edited /etc/shadow, but i guess no changes were made here. 5. added webx_specificuser to the end of /home/admispconfig/ispconfig/users 6. chown -R webx_specificuser:www-data /var/www/webx/web/myspecificfolder 7. Bingo, I have correct access to a folder inside a domain for a user. The only thing I wonder is why put the new user at the end of /home/admispconfig/ispconfig/users ? Thanks ! Francis
If you add a user with a userid in the range of ISPConfig, you will get user conflicts that may corrupt your system.
Finalised. Everything is fine Thank you Till, I corrected my initial post to reflect the correct steps. Francis
This thread does not apply to ISPConfig 3. ISPConfig 3 offers unlimited additional FTP users for each website out of the box, just add the FTP user from within ISPConfig by clicking on the new FTP user button.
Ok, my mistake to post in here, but this is the only thing that I found. My issue is how to manually add a FTP user in ISPConfig 3? In the www folder I want to have a "test" folder for tests. How can I add a FTP user in ISPConfig 3 with no domain?