Originally Posted by jumba
The inactive users who are jailed can connect but are jailed in /home/username.
They can not enter in the /web directory
It seems that's true only if I connect with sftp (with Filezilla).
If I connect with ssh, start mc and try to exit /home/username
I get an error but then I am able to exit /home/username
and enter any folder within the original jail, including /web
After setting a jailed user to inactive and then back to active, and connecting with sftp (with Filezilla), that active user can't exit /home/username
So an active (jailed) user connected with sftp has no access to /web or other directories anymore.
The trick is to connect with ssh and start mc, like I said.