Date: Wed, 16 Mar 2005 10:38:58 -0800 (PST) From: Keith Woodworth <kwoody@citytel.net> To: freebsd-isp@freebsd.org Subject: Chroot Message-ID: <20050316103222.P33592@pop.citytel.net>
next in thread | raw e-mail | index | archive | help
Playing around with ftpchroot, FBSD 4.10. I have one person that logs in to update two different virtual websites. They were only doing one before and ftpchroot'd them and it worked fine. So instead of creating a new login for them I gave them a new home dir and put in two symlinks in that home dir pointing to each website directory. Well ftpchroot locks them in and doesnt allow a cd to either of those website directories. Obviously taking them out of ftpchroot this works. Ive looked over the man pages for ftp and related config files as well as ln but do not see a way to have one person to have on login, to be ftpchroot'd, yet update two directories. Unless I do it the other way around. Instead, create two real dir's under their home directory and symlink from the document root that apache expects to the directories under their home dir. Did that make sense?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050316103222.P33592>