LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-15-2004, 10:04 AM   #1
mrobb
LQ Newbie
 
Registered: May 2003
Posts: 23

Rep: Reputation: 15
Angry secure ftp


Hello,
I have RH9 and vsftpd installed. How do you only allow the user to view the default directory. ex /var/ftp. Once I ftp in it goes to /var/ftp, but I can veiw var and /, I want to lock them to the specified directory. How do you do this?

Thanks,

MIke
 
Old 09-15-2004, 10:11 AM   #2
Ulisses
LQ Newbie
 
Registered: Aug 2004
Location: Recife/PE, Brasil
Distribution: Kubuntu Breezy
Posts: 13

Rep: Reputation: 0
From http://vsftpd.beasts.org/vsftpd_conf.html

Quote:
chroot_list_enable
If activated, you may provide a list of local users who are placed in a chroot() jail in their home directory upon login. The meaning is slightly different if chroot_local_user is set to YES. In this case, the list becomes a list of users which are NOT to be placed in a chroot() jail. By default, the file containing this list is /etc/vsftpd.chroot_list, but you may override this with the chroot_list_file setting.

Default: NO

chroot_local_user
If set to YES, local users will be (by default) placed in a chroot() jail in their home directory after login. Warning: This option has security implications, especially if the users have upload permission, or shell access. Only enable if you know what you are doing. Note that these security implications are not vsftpd specific. They apply to all FTP daemons which offer to put local users in chroot() jails.

Default: NO
 
Old 09-15-2004, 12:07 PM   #3
mrobb
LQ Newbie
 
Registered: May 2003
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks
That did the trick.

Mike
 
  


Reply



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 On
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 sachinh Linux - Security 2 12-02-2004 05:34 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:20 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