Re: VSFTP and CHROOT outside of home?




Michael Heiming wrote:
In comp.os.linux.misc news@xxxxxxxxxxxxxx <news@xxxxxxxxxxxxxx>:
I've seen this question asked a couple of times on the list, but no one
has answered it.
Making me think it can't be done. But....

Is it possible, using vsFTPd, to allow a user to go outside their
default chroot'ed home directory?

Use the "bind" option of mount to make available what you need.

As described here:

http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-Chroot.html

[..]

Holymoly! That's fanfrickentastic! Perfect.
Thanks for the advice!
-Liam

.



Relevant Pages

  • Re: VSFTP and CHROOT outside of home?
    ... default chroot'ed home directory? ... Use the "bind" option of mount to make available what you need. ...
    (comp.os.linux.misc)
  • Re: [kde-linux] Connecting to a samba share at startup
    ... On starting kontact I got an access denied, ... In konqueror I saw my borg home directory listed. ... Still more weird - I now have an icon for the networked folder. ... mount it on your machine. ...
    (KDE)
  • Re: Partitioning scheme for file/mail server
    ... > I do symlinking here. ... Time to repost my /home hack, I think, even though it's incomplete and a bit ... the same home directory can't be exported by more than one machine at ... The missing piece in all this is that of course you can't mount -o bg ...
    (uk.comp.os.linux)
  • Re: [kde-linux] Connecting to a samba share at startup
    ... During kde startup I was told that access was ... In konqueror I saw my borg home directory listed. ... mount point had disappeared. ... What is really puzzling me is that I get a desktop icon for the remote home ...
    (KDE)
  • Re: moving /home
    ... should look in $HOME, or in /etc/passwd, or similar to find your home directory. ... If you didn't want to preserve this, you could simply mount /dev/sde1 *anywhere*, and use useradd to modify your account preferences, and be done. ... Create a partition on your new disc, which may be the whole disc, ... /homesave or whatever, create an empty directory /home, and edit ...
    (Fedora)