I have 1 Centos server V4.x already running VSFTPD and when the user logs in they get chrooted to the home directory, I have installed the same config files to a second server (again Centos V4.x) and have setup the same user on the second server but the user does not get chrooted to the home directory but is placed in /var/ftp/pub and cannot upload file. The files I copied are:- /etc/vsftpd.user_list /etc/vsftpd /etc/vsftpd/vsftpd.conf /etc/vsftpd.ftpusers /etc/vsftpd.chroot_list Any clues ? Thanks Denis
> The files I copied are:- > /etc/vsftpd.user_list > /etc/vsftpd > /etc/vsftpd/vsftpd.conf > /etc/vsftpd.ftpusers > /etc/vsftpd.chroot_list> Any clues ?Does the user exist on the system(is there a home directory for them to chroot to?, if so are the uid's the same as the other system)? Have you looked at the ftp logs to see what's going on? Are you absolutely sure ftp is what you want(<insert standard FTP security rant here>)? -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell
Denis Croombs wrote:> I have 1 Centos server V4.x already running VSFTPD and when the user logs in > > Any clues ?how about not copying the files over ? its only a 1 line change in the vsftpd.conf file to enable chrooting of users... -- Karanbir Singh : http://www.karan.org/ : 2522219 at icq
Denis Croombs wrote:> I have 1 Centos server V4.x already running VSFTPD and when the user > logs in they get chrooted to the home directory, I have installed the > same config files to a second server (again Centos V4.x) and have > setup the same user on the second server but the user does not get > chrooted to the home directory but is placed in /var/ftp/pub and > cannot upload file. > The files I copied are:- > /etc/vsftpd.user_list > /etc/vsftpd > /etc/vsftpd/vsftpd.conf > /etc/vsftpd.ftpusers > /etc/vsftpd.chroot_list > > Any clues ? > > Thanks > > DenisDenis, What happens when the users login normally?? Mark