From owner-freebsd-hackers Tue Mar 17 05:06:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA08481 for freebsd-hackers-outgoing; Tue, 17 Mar 1998 05:06:05 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from shell.futuresouth.com (shell.futuresouth.com [207.141.254.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA08415 for ; Tue, 17 Mar 1998 05:05:59 -0800 (PST) (envelope-from fullermd@futuresouth.com) Received: from shell.futuresouth.com (mail.futuresouth.com [207.141.254.21]) by shell.futuresouth.com (8.8.8/8.8.8) with SMTP id HAA25195; Tue, 17 Mar 1998 07:05:31 -0600 (CST) Date: Tue, 17 Mar 1998 07:05:30 -0600 (CST) From: "Matthew D. Fuller" To: Thomas Wahyudi <1193016@student.unpar.ac.id> cc: aj@gims.net, freebsd-hackers@FreeBSD.ORG Subject: Re: How do I In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 17 Mar 1998, Thomas Wahyudi wrote: > On Fri, 13 Mar 1998 aj@gims.net wrote: > > #How do I change the root directory of my ftp daemon. It is currently > #pointing to > #/var/ftp and I want it to point to /home/ftp. I changed the > #/etc/passwd and the /etc/master.passwd file but that doesn't seem to be > #it. What file is controling it? > have you try using ln -s ? Won't work once it's chroot'd. You have to make ~ftp be /home/ftp, and USE VIPW!! 10 to 1, you didn't remake the hashes after you changed it. do this (assuming you changed the home dir) # cd /etc # pwd_mkdb -p master.passwd And it should work *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | FreeBSD; the way computers were meant to be | * "The only reason I'm burning my candle at both ends, is * | that I haven't figured out how to light the middle yet."| * fullermd@futuresouth.com :-} MAtthew Fuller * | http://keystone.westminster.edu/~fullermd | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message