I need someone to help me chroot users so that each user can't get out of /home/username when using SFTP-only (OpenSSH). Users should not even be able to see other peoples /home/username.
The key to the problem is to figure out the group and permission setup. I think there is a little error somewhere, maybe user needs to be member of another group. I have chowned the /home/username to root as instructed, but this only gave strange error msg in SFTP-client.
I'm using http://centos-webpanel.com. You really don't need to know the panel as it is very true to the system and runs in parallell. I add my users and vhosts through normal shell, so we don't have to think much about the panel. But of course, it is smart to use their groups etc so that we don't break it completely.
I have tried this manual: [url removed, login to view]
It seems pretty easy, but I'm not quite there yet (do get some errors). I'm able to browse to other sites. I have also tried cageFS in CloudLinux, but that doesn't help on this either.
Developers of this panel say they will implement this in their panel later, but I need this today. So: If you have time now and can promise to fix this for me, the task is yours. You need to have some history here at freelancer to be considered.
If you have a vps, it takes 10 minutes to get it up and running, so the panel is easly installed and basically no configuration needed.
I need this job done today.
2 freelancer menawar dengan rata-rata $28 untuk pekerjaan ini
which panel are you using? zpanel or vestacp or some other panel. when you create a domain and a user related to it, the files of of that domain are accessible to that user only.