LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 06-05-2003, 06:48 AM   #1
r042wal
LQ Newbie
 
Registered: Jun 2003
Posts: 12

Rep: Reputation: 0
Help with chroot jail - vsFTPd


I'm new to Linux and I am having a helluva time with this despite all that I read and all that I try.

I am loged on to RH9 as root

I created a directory /home/ftp

Created a user techuser and made their home directory /home/ftp

in /etc/vsftpd.conf, I have:

chroot_list_enamble=YES
chroot_local_user=YES
chroot_list_file=/etc/vsftpd.chroot.list

It seems that no matter what I try, and I have spent 3 days doing this, when techuser logs on, techuser can browse the entire hard drive.

I have found plenty of chroot documentation for wu-ftpd, but I have difficulty associating those instructions with vsftpd.

Would anyone be willing to hold my hand and walk me through this?

TIA
 
Old 06-05-2003, 04:21 PM   #2
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
Hi!

You have to add the name(s) of the users you wish to chroot to the vsftpd.chroot_list file so vsftpd will know to chroot them! It should be in the /etc dir. It's just a text file you can edit with vi or whatever you please.
You might also want to change the shell to /sbin/nologin for users that you want to have FTP access only.

HTH!
 
  


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
Chroot jail Gimpy Linux - Software 10 05-07-2010 01:30 PM
Chroot jail pachanga Linux - General 12 09-26-2008 05:15 AM
Jail and chroot rogk Linux - Security 2 10-16-2005 02:20 AM
chroot jail for the vsftpd daemon -not internal to program snowmedia Linux - Networking 2 06-30-2004 09:32 AM
vsftpd, combining chroot jail & links? Whz Linux - Software 0 07-25-2003 04:31 PM


All times are GMT -5. The time now is 06:03 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration