Hack Forums
[CentOS] making an FTP account for user, how to hide directions? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Computing (https://hackforums.net/forumdisplay.php?fid=88)
+---- Forum: Linux (https://hackforums.net/forumdisplay.php?fid=85)
+---- Thread: [CentOS] making an FTP account for user, how to hide directions? (/showthread.php?tid=5334156)



making an FTP account for user, how to hide directions? - Formula 1 - Jul 10, 2016

Hey there,

I made a ftp user for someone the directory is /home/myfriendsname
when he clicked on the (..) in filezilla or anyother FTP Program, he can go back and see all the vps folders and files, like var/etc/root/run/sbin....

How can i hide all of these folders for him? I want him to be able to see only /myfriendsname folder

Please help!


* - archangel.dmitry - Jul 10, 2016

You can try uncommenting "chroot_local_user=YES" in vsftpd.conf to limit users to their home directories.


* - XMR - Jul 10, 2016

Your FTP server should have a config option to jail users in their home directory (chroot) so they can't see anything outside it. It should be in your FTP server's documentation.


* - Formula 1 - Jul 10, 2016

can you guys tell me how to do it via teamviewer?
Please.. whats your skype?


* - archangel.dmitry - Jul 10, 2016

What FTP server are you running?