From owner-freebsd-questions Thu Jan 2 3:58:57 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 524DC37B401 for ; Thu, 2 Jan 2003 03:58:56 -0800 (PST) Received: from east.ath.cx (catv-50622a7a.nyircatv.broadband.hu [80.98.42.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 659A843EA9 for ; Thu, 2 Jan 2003 03:58:54 -0800 (PST) (envelope-from witch@kronos.HomeUnix.com) X-Complaints-To: abuse@kronos.homeunix.com X-SMTP-Authenticated: CRAM-MD5 X-message-flag: Ditch the crappy mail client and get a real one! Received: from slave.kronos.homeunix.com (lap1hy5oocl5xn45@slave.kronos.homeunix.com [10.1.1.1]) (authenticated bits=0) by east.ath.cx (8.12.6/8.12.6) with ESMTP id h02BwlHb083781 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Thu, 2 Jan 2003 12:58:47 +0100 (CET) (envelope-from witch@slave.east.ath.cx) Received: from slave.east.ath.cx (localhost [127.0.0.1]) by slave.kronos.homeunix.com (8.12.6/8.12.6) with ESMTP id h02Bwkir021982 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 2 Jan 2003 12:58:46 +0100 (CET) (envelope-from witch@slave.east.ath.cx) Received: (from witch@localhost) by slave.east.ath.cx (8.12.6/8.12.6/Submit) id h02BwfhE021921; Thu, 2 Jan 2003 12:58:41 +0100 (CET) Date: Thu, 2 Jan 2003 12:58:41 +0100 (CET) From: Andrew Prewett Reply-To: Andrew Prewett To: FreeBSD Mailing list Subject: Re: /etc/ftpchroot In-Reply-To: <20030102133627.B87472-100000@gemini.fixx.co.za> Message-ID: <20030102123729.E12613@slave.east.ath.cx> References: <20030102133627.B87472-100000@gemini.fixx.co.za> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Today Wayne Swart wrote: > lo everyone > > is there a wildcdard type you can specify for /etc/ftpchroot ? joe*, doe[0-9], etc. won't work > this is on bsd 4.7 using ftpd This is from ftpd(8): ... 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 account. The account should also be set up as for an anony- mous account. ... Create a new group, add users to the group (see pw(8) for details), add `@groupname' to /etc/ftpchroot. -andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message