Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

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

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:13 PM   #2
Registered: Sep 2004
Location: Brighton UK
Distribution: *buntu 7.10
Posts: 59

Original Poster
Rep: Reputation: 15
Solution found

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


chroot, fstab, ftp

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
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
ProFTPD for chrooted users (/home/hosting/user) ? Niels@debian Linux - Software 5 08-12-2004 07:38 PM > Forums > Linux Forums > Linux - Networking

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