VSFTP is set up and I want users not to go into other directories then their /home. I've set:
But it doesn't seem to work (after restarting).
Could it be that I have the wrong config file? Or is there other settings or ways of logging in that skip this config line?
Edit: Together with someone else I found that the vsftp was not at all the server listening to the port.. Therefor, I didn't see my changes reflected. Solved the problem somewhere else thus.
Still, the answers below might solve the problem for others who have this.