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! |
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 12:22 PM. |