Hi,
I have an Ubuntu server installed and I need to give access to my client's sites hosted on my server. There are currently 2 sites, which means 2 folders.
I was able to create a user with the command:
adduser user
However, I cannot find a way how to restrict this user to view only specific folders. If you tell me at least how to restrict a user to only one folder on your server that would be great!
I googled a bit and I found something about chroot. If I understood correctly, this will literally create a new root for the user which ultimately means restricting certain folders. However, I am no linux expert and didn't manage to use it.
Many thanks in advance