From owner-freebsd-net Sun Jul 4 23: 7:13 1999 Delivered-To: freebsd-net@freebsd.org Received: from adelphi.physics.adelaide.edu.au (adelphi.physics.adelaide.edu.au [129.127.36.247]) by hub.freebsd.org (Postfix) with ESMTP id 54F9814D20 for ; Sun, 4 Jul 1999 23:07:09 -0700 (PDT) (envelope-from kkennawa@physics.adelaide.edu.au) Received: from bragg (bragg [129.127.36.34]) by adelphi.physics.adelaide.edu.au (8.8.8/8.8.8/UofA-1.5) with SMTP id PAA26339; Mon, 5 Jul 1999 15:37:08 +0930 (CST) Received: from localhost by bragg; (5.65/1.1.8.2/05Aug95-0227PM) id AA16914; Mon, 5 Jul 1999 15:36:47 +0930 Date: Mon, 5 Jul 1999 15:36:47 +0930 (CST) From: Kris Kennaway X-Sender: kkennawa@bragg To: Derek Jewett Cc: freebsd-net@freebsd.org Subject: Re: Secure FTP... In-Reply-To: <000e01bec4c9$153ecb60$5515a8c0@ws2983> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 2 Jul 1999, Derek Jewett wrote: > Using 3.1-R I need to provide a secure ftp login for an account. I want > the user to have write only access to their usr/home/user directory... I > perused the man page for chown and chgrp, and found how to change rights > on indevidual files but not directories... Could someone steer me to the > man page I need.. Thanks chown and chgrp work on directories as well as files. If you want the user to only be able to see files in their home directory (i.e. not even read anything else outside) then you probably want to look at the chroot capability of ftpd - see the chroot(1) manpage for a description of what it does, and the ftpd manpage for how to configure it for ftp logins. Kris ----- "Never criticize anybody until you have walked a mile in their shoes, because by that time you will be a mile away and have their shoes." -- Unknown To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message