0
0
File structure:
I have a VPS running Debian OS and would like to create user accounts on it.
I want it so that when the user logs in with FTP, everything in var appears to be their home directory and they cannot cd out of it.
For example, when user3 logs in, they have access to everything in var (read, write, execute) but cannot view (cd) user1 or user2's personal stuff.
How would I go about doing this?
I think I have to do this in chroot, but I have no idea how this would work.
This depends on the FTP software you choose. ProFTPd, Pure-Ftpd, vsftpd, etc. – John T – 2011-02-25T01:44:23.680
Well, the ftp software I'll have my clients connect to is FileZilla, but don't I set this in Putty? – dukevin – 2011-02-25T02:06:31.983
Yeah are you sure I can make user accounts via ftp? pretty sure you can't – dukevin – 2011-02-25T03:33:18.353
Do you want the same username to have a different home directory if they login via shell versus login via ftp? – mpez0 – 2011-02-25T13:23:18.263
I don't really care as long as they are jailed in sFtp, but it would be nice if they were the same – dukevin – 2011-02-25T13:34:52.860