  | |  | RH9 VSFTP Chroot Problem | RH9 VSFTP Chroot Problem 2004-02-09 - By Real Cucumber
Back Hi there,
I 'm running RH9 with VSFTP and I 'm trying to make it so that FTP users are restricted to their home directories only.
I 've done as everywhere I 've looked says to do, but it does not work:
In /etc/vsftpd/vsftpd.conf:
-- ---- --
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
chroot_local_user=YES
-- -----
And now when I ftp in it simply puts everyone in the root / directory and doesn 't let the go into any directory.
I 've even tried with just like this:
-- ---- --
#chroot_list_enable=YES
#chroot_list_file=/etc/vsftpd.chroot_list
chroot_local_user=YES
-- -----
And I 'm always starting and stopping the vsftpd service.
The homedirectories are correct in the /etc/passwd file and if I SSH in as the users it does put them in their home directories.
I 'm starting to wonder if this is a VSFTP bug in RH9?
Can someone enlighten me?
Also I can 't find any documentation anywhere on how to setup a non local user ftp server (not allowing local users and how/where to store the ftp users/passwords).
-- ---- ---- ---- ---- ---- -----
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online <DIV >Hi there, </DIV >
<DIV > </DIV >
<DIV >I 'm running RH9 with VSFTP and I 'm trying to make it so that FTP users are restricted to their home directories only. </DIV >
<DIV > </DIV >
<DIV >I 've done as everywhere I 've looked says to do, but it does not work: </DIV >
<DIV > </DIV >
<DIV >In /etc/vsftpd/vsftpd.conf: </DIV >
<DIV > </DIV >
<DIV >-- ---- -- </DIV >
<DIV >chroot_list_enable=YES <BR >chroot_list_file=/etc/vsftpd.chroot_list <BR >chroot_local_user=YES <BR >-- ----- </DIV >
<DIV > </DIV >
<DIV >And now when I ftp in it simply puts everyone in the root / directory and doesn 't let the go into any directory. </DIV >
<DIV > </DIV >
<DIV >I 've even tried with just like this: </DIV >
<DIV > </DIV >
<DIV >
<DIV >-- ---- -- </DIV >
<DIV >#chroot_list_enable=YES <BR >#chroot_list_file=/etc/vsftpd.chroot_list <BR >chroot_local_user=YES <BR >-- ----- </DIV >
<DIV > </DIV >
<DIV >And I 'm always starting and stopping the vsftpd service. </DIV >
<DIV > </DIV >
<DIV >The homedirectories are correct in the /etc/passwd file and if I SSH in as the users it does put them in their home directories. </DIV >
<DIV > </DIV >
<DIV >I 'm starting to wonder if this is a VSFTP bug in RH9? </DIV >
<DIV > </DIV >
<DIV >Can someone enlighten me? </DIV >
<DIV > </DIV >
<DIV >Also I can 't find any documentation anywhere on how to setup a non local user ftp server (not allowing local users and how/where to store the ftp users/passwords). </DIV >
<DIV > </DIV >
<DIV > </DIV > </DIV > <p > <hr SIZE=1 >
Do you Yahoo!? <br >
Yahoo! Finance: <a href= "
http://us.rd.yahoo.com/evt=22055/
*
http://taxes.yahoo.com/filing.html
" >Get your refund fast by filing online </a >
|
|
 |