From owner-freebsd-hackers Fri Mar 31 8:15:45 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 017D437B6B2 for ; Fri, 31 Mar 2000 08:15:42 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e2VGeYF29197; Fri, 31 Mar 2000 08:40:34 -0800 (PST) Date: Fri, 31 Mar 2000 08:40:34 -0800 From: Alfred Perlstein To: sdf dsg Cc: hackers@FreeBSD.ORG Subject: Re: FTP server Message-ID: <20000331084030.K21029@fw.wintelcom.net> References: <20000331160805.36797.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000331160805.36797.qmail@hotmail.com>; from karnanfans@hotmail.com on Fri, Mar 31, 2000 at 04:08:05PM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * sdf dsg [000331 08:33] wrote: > after i have looked arround i cant find where to restrict ftp users to their > home dir only, pleas help me!!!!! 5. If the user name appears in the file /etc/ftpchroot, or the user is a member of a group with a group entry in this file, i.e. one prefixed with `@', the session's root will be changed to the user's login directory by chroot(2) as for an ``anonymous'' or ``ftp'' account (see next item). This facil- ity may also be triggered by enabling the boolean "ftp-chroot" capability in login.conf(5). However, the user must still supply a password. This feature is intended as a compromise between a fully anonymous account and a fully privileged ac- count. The account should also be set up as for an anonymous account. it's in the ftpd manpage. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child, I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message