Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-03-2006, 06:03 PM   #1
Registered: Sep 2004
Location: Brighton UK
Distribution: *buntu 7.10
Posts: 59

Rep: Reputation: 15
binds in fstab for chrooted ftp users (format help please)

i think i posted this is the wrong forum before (my fault) so here it is again.

hi there. Ive been looking for some time for the correct stuff to put in fstab for my chrooted ftp users so they can reach resources on other hard disks without my comprimising the rest of the file system.

I am aware i can bind extra directories inside say /home/ftp by doing this as root:

mount --bind /home/ftp/misc /home/data/Shared

- in order to enable access for the ftp users to get to /home/data/shared without giving them access to the sub system.

Symlinks dont work because ftp users are "chrooted"

This is fine but i really need some help as to what to put in fstab to make the bindings survive a reboot, i do understand the format of fstab but cant seem to get the "bind" command in there.

Thanks for any advice
Old 05-03-2006, 07:14 PM   #2
Registered: Sep 2004
Location: Brighton UK
Distribution: *buntu 7.10
Posts: 59

Original Poster
Rep: Reputation: 15

I found out what i was doing wrong.. in fstab it seems to take the mount options in the fourth column .. so the format was

/home/data/Shared /home/ftp/misc none bind 0 0

in order to mount /home/data/Shared in /home/ftp/misc with the "bind" option i needed for the chrooted users to access..

well you learn a new thing everyday


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
binds in fstab for chrooted ftp users (format help please) crazytigger Linux - Networking 1 05-03-2006 07:13 PM
chrooted users changing their passwords btmiller Linux - Security 2 07-16-2005 01:08 PM
VSFTP Virtual Users chrooted to NTFS Help please murdocthecrackmongre Linux - Software 2 07-05-2005 06:43 PM
cron for chrooted users metobln Linux - Software 4 04-24-2005 05:39 AM
Jailed(chrooted) users and ftp linux_terror Linux - Security 4 08-29-2004 06:56 PM > Forums > Linux Forums > Linux - Newbie

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