Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-05-2003, 06:48 AM   #1
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:


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?

Old 06-05-2003, 04:21 PM   #2
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

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.



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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:51 AM.

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