PDA

View Full Version : [ubuntu] How to restrict an FTP user to one directory?



GOSSSAMER
January 31st, 2012, 06:01 PM
HI all,

I have an Ubuntu server running vsftpd.
I want to be able to create a limited user who will soley have access to one or two directories.
I know by default they have access to their home directory but how can I direct their logon to the only directory I wish them to use?

Sab3r
January 31st, 2012, 06:14 PM
How about creating a soft link to the directory in their home directory? Is that bad practice?

Return Privacy
July 2nd, 2012, 08:01 AM
Great question, I'm trying to do the same thing. Can't find an answer anywhere on here?

SlugSlug
July 2nd, 2012, 11:29 AM
jail them

quick google..
https://www.google.co.uk/search?q=ftp+user+jail&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a