Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2001 09:54:25 +1200
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        Michael Nottebrock <michaelnottebrock@gmx.net>
Cc:        TOPCAT CONSULTING <topcat@sk.sympatico.ca>, freebsd-questions@FreeBSD.ORG
Subject:   Re: changing anonymous ftp directory after install
Message-ID:  <20010411095425.B72535@itouchnz.itouch>
In-Reply-To: <028701c0c1ae$f79ce9e0$0508a8c0@lofi.dyndns.org>; from michaelnottebrock@gmx.net on Tue, Apr 10, 2001 at 01:11:18PM %2B0200
References:  <3AD2BD4A.FAAA15CD@sk.sympatico.ca> <028701c0c1ae$f79ce9e0$0508a8c0@lofi.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
                        "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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010411095425.B72535>