LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-26-2003, 07:04 PM   #1
7even
LQ Newbie
 
Registered: Aug 2003
Distribution: Redhat
Posts: 9

Rep: Reputation: 0
Question linking outside a chrooted dir ?


Hi,
one problem fixed...by creating a new one.. I love it.
My Problem:
I started vsftpd to have a FTP-server ... got a user for login.... chrooted him in his home.
Now in his home I need to link him to another disk/partition to find the data thats waiting for him. The thing is, the user can t change to the linked directory as long as I got this chroot_local_user=YES in the vsftp.conf. ... when I comment it out, he can change to the linked dir.... but also anywhere else.

Is there a way to tell him where he can go, and where not , without completely locking him in his home ???

Thanx

7even

 
Old 11-15-2003, 03:41 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
From the vsftpd FAQ:
Q) Why don't symlinks work with chroot_local_user=YES?
A) This is a consequence of how chroot() security works. As alternatives,
look into hard links, or if you have a modern Linux, see the powerful
"mount --bind".

Also found this in the FAQ:
Q) Help! Does vsftpd support hiding or denying certain files?
A) Yes. Look at the hide_file and deny_file options in the manual page.
 
  


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
What does chrooted mean? Red Squirrel Linux - Software 6 08-21-2005 09:41 PM
is service chrooted? overlord73 Linux - Security 2 07-06-2005 02:10 AM
Chrooted Apache dominant Linux - Security 4 09-20-2004 03:48 AM
howto make a dir shared that is not in my home dir Schmurff Linux - Newbie 2 06-19-2004 08:54 PM
krecipes and ./configure -with-qt-dir=DIR disco rugby Linux - Software 4 06-13-2004 10:06 PM


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