LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-05-2003, 08:44 PM   #1
dsgdevil
Member
 
Registered: Jan 2003
Distribution: RedHat Linux 9
Posts: 126

Rep: Reputation: 15
vsftpd chroot list


how do i use it?can someone give an example of a list?thanks

Last edited by dsgdevil; 02-05-2003 at 08:57 PM.
 
Old 02-05-2003, 08:48 PM   #2
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
set the following to your vsftpd.conf file:


chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list

if you dont have the file:

create the file /etc/vsftpd.chroot_list and add the usernames you want to jail to their home directory
 
Old 02-05-2003, 08:51 PM   #3
dsgdevil
Member
 
Registered: Jan 2003
Distribution: RedHat Linux 9
Posts: 126

Original Poster
Rep: Reputation: 15
in what kind of format?like
user "/place"
or something else?
 
Old 02-05-2003, 08:55 PM   #4
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
example

vsftpd_choot_list is an empty file with users names that you want to jail on their home directory


the file should be /etc/vsftpd.chroot_list if not create the file
 
Old 02-05-2003, 08:57 PM   #5
dsgdevil
Member
 
Registered: Jan 2003
Distribution: RedHat Linux 9
Posts: 126

Original Poster
Rep: Reputation: 15
yea but i dont know what kind of format like do i put
user "/home"
or
"/home" user
or something else
 
Old 02-05-2003, 08:58 PM   #6
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
Talking

only the name of the user
 
Old 02-05-2003, 09:00 PM   #7
dsgdevil
Member
 
Registered: Jan 2003
Distribution: RedHat Linux 9
Posts: 126

Original Poster
Rep: Reputation: 15
so...where do i put the place i want to jail them in?i want to jail them in different places
 
Old 02-05-2003, 09:05 PM   #8
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
chroot only jails the user on the directory that you asigned them to..

example if i add a user to be allowed to be on my /var directory ,i just add the name on the chroot list and he will be jail there
 
Old 02-05-2003, 09:08 PM   #9
dsgdevil
Member
 
Registered: Jan 2003
Distribution: RedHat Linux 9
Posts: 126

Original Poster
Rep: Reputation: 15
so where do i put the jail places?
 
Old 02-05-2003, 09:11 PM   #10
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
Talking

Go to > system settings >users and groups from the menu


hope it helps


 
Old 02-05-2003, 09:14 PM   #11
dsgdevil
Member
 
Registered: Jan 2003
Distribution: RedHat Linux 9
Posts: 126

Original Poster
Rep: Reputation: 15
what shell should i use?
 
Old 02-05-2003, 09:16 PM   #12
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
Thumbs up

Leave it as is ...
 
Old 02-05-2003, 09:23 PM   #13
dsgdevil
Member
 
Registered: Jan 2003
Distribution: RedHat Linux 9
Posts: 126

Original Poster
Rep: Reputation: 15
but now the user can still get out of the dir i dont want them to get out
 
Old 02-05-2003, 09:40 PM   #14
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
can u post for us your vsftpd.conf (w/o the comments) and your vsftpd_chroot_list?

also, for a user the you entered in vsftpd_chroot_list, run a finger on him. say dsgdevil is in vsftpd_chroot_list, do this in a shell:

finger dsgdevil
 
Old 02-05-2003, 10:23 PM   #15
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
Did you restart the apache ?
 
  


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
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 08:24 PM
vsftpd not list files when viewed from deifferent win machine win ftp application in anuj_sharma25 Linux - Newbie 2 11-23-2005 12:08 AM
VSFTPD with 500 oops :vsftpd: missing argv[0] mole_13 Linux - Newbie 0 05-04-2005 02:05 AM
unable to get list after logging on to VSFTPD dmurray8888 Linux - Networking 2 04-29-2004 02:13 PM
chrrot problem bbenz3 Linux From Scratch 4 03-22-2002 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration