Date: Mon, 3 May 1999 09:00:08 -0700 (PDT) From: Dan Busarow <dan@dpcsys.com> To: Graeme Tait <graeme@echidna.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Chroot'ed ftpd / Users with home directory not under /home Message-ID: <Pine.BSF.3.96.990503084933.18281B-100000@java.dpcsys.com> In-Reply-To: <372DAC7D.736D@echidna.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 May 1999, Graeme Tait wrote: > I want to use the chroot'ed feature of ftpd to give a user control by ftp > of a portion of a web tree, while restricting them from seeing/changing > anything else on the server by ftp. > > I can do this by creating a new user with the home directory set to their > root point in the web tree. I have disabled telnet access to the account. > > > My question is, is this an acceptable procedure? Are there any > consequences to creating users with home directory not under /home? Yes, we do this all the time. No, there is no downside to having a user's home directory outside of /home. You should build a version of ftpd with built in ls. Set FTPD_INTERNAL_LS before running make in /usr/src/libexec/ftpd Otherwise you'll need to add bin/ls to their chroot'd home so they can see their files. Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990503084933.18281B-100000>