From owner-freebsd-questions Thu Oct 10 14:37:11 2002 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 E15DE37B404 for ; Thu, 10 Oct 2002 14:37:08 -0700 (PDT) Received: from zoon.lafn.org (zoon.lafn.org [206.117.18.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E1B243EC5 for ; Thu, 10 Oct 2002 14:37:08 -0700 (PDT) (envelope-from bc979@lafn.org) Received: from lafn.org (66-81-73-204-modem.o1.com [66.81.73.204]) by zoon.lafn.org (8.12.3/8.11.3) with ESMTP id g9ALb0N1054136; Thu, 10 Oct 2002 14:37:01 -0700 (PDT) (envelope-from bc979@lafn.org) Date: Thu, 10 Oct 2002 14:37:01 -0700 Subject: Re: SSH/FTP Access Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v546) Cc: freebsd-questions@FreeBSD.ORG To: DiaDems@Datasync.com From: Doug Hardie In-Reply-To: <200210100428.g9A4SGU20412@mx.datasync.com> Message-Id: <6931D6DD-DC98-11D6-8E12-000393681B06@lafn.org> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.546) 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 On Wednesday, Oct 9, 2002, at 21:28 US/Pacific, DiaDems@Datasync.com wrote: > Just wondering is there a way to limit SSH access (when adding a user > or period) so that user can only use SSH to access or effect their > home directory? Not with the installed sshd > > Also is there a way to give (and limit) a user FTP access to another > users home directory? Yes. add the user ids or groups to /etc/ftpchroot. See the manpage. That will restrict users to their home directory and its sub directories. > > Thanks! > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message