From owner-freebsd-questions Tue Apr 10 15: 3:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id D3A0B37B423 for ; Tue, 10 Apr 2001 15:03:24 -0700 (PDT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail 32460 invoked by uid 0); 10 Apr 2001 22:03:23 -0000 Received: from pd950a1c0.dip.t-dialin.net (HELO lofizwei) (217.80.161.192) by mail.gmx.net (mp017-rz3) with SMTP; 10 Apr 2001 22:03:23 -0000 Message-ID: <019301c0c20a$10238a40$0508a8c0@lofi.dyndns.org> From: "Michael Nottebrock" To: "Jonathan Chen" Cc: "TOPCAT CONSULTING" , References: <3AD2BD4A.FAAA15CD@sk.sympatico.ca> <028701c0c1ae$f79ce9e0$0508a8c0@lofi.dyndns.org> <20010411095425.B72535@itouchnz.itouch> Subject: Re: changing anonymous ftp directory after install Date: Wed, 11 Apr 2001 00:03:23 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Jonathan Chen" To: "Michael Nottebrock" Cc: "TOPCAT CONSULTING" ; Sent: Tuesday, April 10, 2001 11:54 PM Subject: Re: changing anonymous ftp directory after install > 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' Oops, right. Pardon me, I was in SGI-mode while writing this. *blush* Greetings, Michael Nottebrock To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message