Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 12-02-2004, 04:46 AM   #1
Registered: Jul 2004
Location: india
Distribution: RH
Posts: 189

Rep: Reputation: 30
Secure FTP

Hi All ,

We are using RedHat Linux , and wu-ftpd Version 2.6.1 . I want to chroot some of
the users . How do I do it ? Please help .
Old 12-02-2004, 05:25 AM   #2
Registered: Jun 2003
Location: Front of PC
Distribution: Linux Mandrake
Posts: 212

Rep: Reputation: 30
Firstly, use proftpd instead, it's more secure than wu-ftpd.

Secondly, all settings for proftpd (& I imagine wu-ftpd also) is there in the config file (for proftpd, it's /etc/proftpd.conf). These config files are well commented and it should be no problem to just read them.

As an example, the "chroot jail" option (which is what u want I guess) in proftpd is located in line 35 of /etc/proftpd.conf, in the DefaultRoot variable:

Default root can be used to put users in a chroot environment.
As an example if you have a user foo and you want to put foo in /home/foo
chroot environment you would do this:
DefaultRoot /home/foo foo

Also, if u don't want to do it the hard way, there are webmin modules for both proftpd and wuftpd that allow you to config the servers using a nice interface thru any standard web browser. Install the webmin webserver package (firewall it for security), and log into it using your browser pointing to your localhost (google and check their website for detailedI know that you can easily chroot jail users in the proftpd module. I'm sure it is possible in wu-ftpd as well. I believe there are GUI's that do this also, but I haven't used them.
Old 12-02-2004, 05:34 AM   #3
Registered: Oct 2004
Posts: 229

Rep: Reputation: 30
Don't know if wu-ftp gives you that feature. So you might need to chroot everything, so I guess it would be all users.

Anyway take a look at

It might have something for you.


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
Secure FTP jake_reginato Linux - Newbie 3 05-02-2005 02:51 PM
secure ftp mrobb Linux - General 2 09-15-2004 12:07 PM
Secure FTP Sathe Linux - Security 6 06-03-2003 06:53 PM
Secure FTP? WeNdeL Linux - Software 1 05-07-2003 10:44 AM
Secure FTP pilot1 Linux - General 2 11-06-2002 08:35 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:31 PM.

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