Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
RH9 VSFTP Chroot Problem

RH9 VSFTP Chroot Problem

2004-02-09       - By Real Cucumber

 Back
Reply:     1     2     3  

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 >