LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Major issues with VSFTPD Ubuntu 12.04 (https://www.linuxquestions.org/questions/linux-software-2/major-issues-with-vsftpd-ubuntu-12-04-a-4175453032/)

Altiris 03-06-2013 08:18 PM

Major issues with VSFTPD Ubuntu 12.04
 
Alright so I am trying to chroot() my users so they stay locked/jailed in their home directories. I read online, found this,

http://blog.thefrontiergroup.com.au/...rs-work-again/

I did everything it told me to do. After I did all of that I logged in with FileZilla and noticed that when I log in it says "Response: 257 "/"" which is the whole Linux directory (which isnt what I want). Prior to enabling chroot(), when I would log in it would say "Response: 257 "/home/MYUSERNAMEHERE". Basically I want to be able to chroot() users but also lock them in their /home folder which doesn't seem to be working, it seems that it is locking them to the / directory and I cant even navigate anywhere inside the / directory.

So far this is what I have edited from the config files:

------------------------------------------------------------------------------

anonymous_enable=NO
Uncommented local_enable=YES
Uncommented write_enable=YES
Ucommented chroot_local_user=YES
Uncommented chroot_list_enable=NO (By default chroot_list_enabled is set to YES, I put NO)

-------------------------------------------------------------------------------

Altiris 03-06-2013 08:39 PM

Nevermind, somehow, for some reason everything is working the way it should be. I am locked in my /home directory like I wanted so I wont be messing with anything lol.


All times are GMT -5. The time now is 08:09 PM.