I need to create user with limited access to one folder only, example /home/user1.Like in cPanel and WHM.
How can i do it ?
Create a FTP user group. eg: ftpaccounts
Add a new user to this group, and set the default path of that user to /home/user/.
Set a password for the newly created user.
Set ownership of /home/user to the testuser and ftpaccounts.
Give Read/Write access to testuser and all members in ftpaccounts