LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-16-2012, 06:54 AM   #1
sunrised24
LQ Newbie
 
Registered: Jan 2012
Location: Chennai,INDIA
Distribution: Centos5.4,SuseLinux,Rhel5,Ubuntu 10.04
Posts: 27

Rep: Reputation: Disabled
500 OOPS: could not open chroot() list file:/etc/vsftpd/chroot_list


Hi
i had configured a ftp server.I have directory /data,/root,/ dir with 777 permision.How can i block users of VSFTPD/FTP will be limited to accessing only files in their own home directory.

They should not access other than they home directory .So i tried the below documentation to chroot to particular home directory.But im facing out the below error ,Currently im using out the below command to block users to limit other than home directory.

setfacl -m u:username:rwx /data --data with full access
setfacl -m u:username:--- /root --blocking root access
setfacl -m u:username:--- /temp

But it denied permission but i can view directory listting of the directory.Im just trying out to block directory listing
.So im trying to chroot user to there home directory alone

Link which i followed to enable chroot

http://www.cyberciti.biz/tips/vsftp-...directory.html

vi /etc/vsftpd/vsftpd.conf i had enabled these two lines for chroot

chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd/chroot_list


500 OOPS: could not open chroot() list file:/etc/vsftpd/chroot_list


cananyone help me wat the conf error i have done in my configuration?Whether i can achieve these using chroot

Last edited by sunrised24; 02-16-2012 at 06:56 AM.
 
Old 02-16-2012, 09:34 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by sunrised24 View Post
Hi
i had configured a ftp server.I have directory /data,/root,/ dir with 777 permision.How can i block users of VSFTPD/FTP will be limited to accessing only files in their own home directory.

They should not access other than they home directory .So i tried the below documentation to chroot to particular home directory.But im facing out the below error ,Currently im using out the below command to block users to limit other than home directory.

setfacl -m u:username:rwx /data --data with full access
setfacl -m u:username:--- /root --blocking root access
setfacl -m u:username:--- /temp

But it denied permission but i can view directory listting of the directory.Im just trying out to block directory listing
.So im trying to chroot user to there home directory alone

Link which i followed to enable chroot

http://www.cyberciti.biz/tips/vsftp-...directory.html

vi /etc/vsftpd/vsftpd.conf i had enabled these two lines for chroot

chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd/chroot_list


500 OOPS: could not open chroot() list file:/etc/vsftpd/chroot_list

cananyone help me wat the conf error i have done in my configuration?Whether i can achieve these using chroot
Have you checked Google, or the search on this very site?
http://www.linuxquestions.org/questi...chroot-920124/

The error states very clearly that the list file can't be opened. Is the list file there? What are the permissions on it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RHEL5 VSFTPD Error "500 OOPS: could not open chroot" pantdk Linux - Software 3 12-23-2011 02:43 AM
Cannot FTP file to server: 500 OOPS: vsftpd: cannot locate user specified in 'chown_u bpeacocke Linux - Newbie 1 10-08-2011 03:42 AM
Starting vsftpd for vsftpd: 500 OOPS: SSL: cannot load RSA certificate MisterTickle Linux - Server 2 02-11-2011 07:41 PM
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 07:24 PM
VSFTPD with 500 oops :vsftpd: missing argv[0] mole_13 Linux - Newbie 0 05-04-2005 01:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration