HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   Adding manually an FTP user for a specific folder (

Novacom 11th December 2006 08:28

Adding manually an FTP user for a specific folder
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 !

till 11th December 2006 11:07

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

Novacom 4th January 2007 08:24

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 !


till 4th January 2007 12:59

If you add a user with a userid in the range of ISPConfig, you will get user conflicts that may corrupt your system.

Novacom 11th January 2007 03:15

Finalised. Everything is fine
Thank you Till,

I corrected my initial post to reflect the correct steps.


All times are GMT +2. The time now is 07:08.

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