I have 4 users. 2 of them are jailed, 2 are not.
The inactive users who are jailed can connect but are jailed in /home/username.
They can not enter in the /web directory
The inactive users who are not jailed can connect and enter in any directory.
But is a user is inactive (nonexistent), shouldn't that prevent the connection from being established in the first place?