Apache FTP permissions question
I have a user loggin into my apache FTP, and I'm not sure how to set permissions for it.
Right now he FTP's to /home/username (this is good), but he can navigate up the tree to /home, /, /etc, and everything else. I'd just like to restrict him so that he can't go any higher up than /home/hisusername, but obviously into any folders under that ( /home/hisusername/rtfm-seventh ). Thanks much for any insight. :) |
What FTP are you using? in VSFTPD (that comes with redhat or fedora) you should edit /etc/vsftpd/vsftpd.conf file wher it says chroot_list_file and make it point to a file of your choice (place it into /etc folder)
In that file you should write the usernames of users you want access limited to their home directory (one user per line). HEre is my vsftpd.conf file expunge: chrot_list_file=/etc/vsftpd.chroot_list If you are using any other ftp client, just locate it's conf file and set it up like this or so. |
All times are GMT -5. The time now is 08:52 PM. |