From owner-freebsd-questions Tue Apr 10 14:55:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id D087F37B422 for ; Tue, 10 Apr 2001 14:55:01 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.2/8.11.1) id f3ALsPe74883; Wed, 11 Apr 2001 09:54:25 +1200 (NZST) (envelope-from jonc) Date: Wed, 11 Apr 2001 09:54:25 +1200 From: Jonathan Chen To: Michael Nottebrock Cc: TOPCAT CONSULTING , freebsd-questions@FreeBSD.ORG Subject: Re: changing anonymous ftp directory after install Message-ID: <20010411095425.B72535@itouchnz.itouch> References: <3AD2BD4A.FAAA15CD@sk.sympatico.ca> <028701c0c1ae$f79ce9e0$0508a8c0@lofi.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <028701c0c1ae$f79ce9e0$0508a8c0@lofi.dyndns.org>; from michaelnottebrock@gmx.net on Tue, Apr 10, 2001 at 01:11:18PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Apr 10, 2001 at 01:11:18PM +0200, Michael Nottebrock wrote: > > [...] > > I would now like to change the directory to /usr/ftp > > > > What file to I have to edit to change this? > > [...] > > Edit the /etc/passwd file and change the home directory of the user > 'ftp' from /var/ftp to /usr/ftp. Then move ftp and it's subdirs from > /var to /usr. Also, read the manpage of ftpd and check the permissions > of each directory according to the instructions found in the manpage. Do NOT alter /etc/passwd directly, it won't do much... Always use `vipw' -- Jonathan Chen ---------------------------------------------------------------------- "Irrationality is the square root of all evil" - Douglas Hofstadter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message