LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Restricting FTP Users (https://www.linuxquestions.org/questions/linux-networking-3/restricting-ftp-users-15299/)

mtellin 02-28-2002 06:56 PM

Restricting FTP Users
 
Hey everyone, Im trying to set up my FTP server on RedHat 7.1 I set up a user, I gave them a home directory, tested it and everything works great....except....they go to their home directory(which is where I would want them to stay) but they can cd .. up to the root directory, how do I restrict it so they are only able to see their home directories and any directories they decide to make inside of it?
Thanks!

Malicious 02-28-2002 08:54 PM

Put the users name in /etc/ftpchroot. When the user logs into ftp, ftpd will do a chroot (change root directory) to the users home directory. Note that this is the standard ftp daemon. Others (wuftpd, etc.) may do things a little different.


All times are GMT -5. The time now is 07:10 PM.