From owner-freebsd-questions Fri Jul 24 08:38:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA26972 for freebsd-questions-outgoing; Fri, 24 Jul 1998 08:38:21 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from flarn.dyn.ml.org (mph@usr132.third-wave.com [147.72.122.47]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA26930 for ; Fri, 24 Jul 1998 08:38:15 -0700 (PDT) (envelope-from mph@flarn.dyn.ml.org) Received: (from mph@localhost) by flarn.dyn.ml.org (8.8.8/8.8.8) id LAA21873; Fri, 24 Jul 1998 11:37:41 -0400 (EDT) (envelope-from mph) Message-ID: <19980724113740.A21634@flarn.dyn.ml.org> Date: Fri, 24 Jul 1998 11:37:40 -0400 From: Matthew Hunt To: Kurt Kohlmyer , freebsd-questions@FreeBSD.ORG Subject: Re: Anonymous FTP Mail-Followup-To: Kurt Kohlmyer , freebsd-questions@FreeBSD.ORG References: <2.2.32.19980724065625.008ef82c@mesb.asgdpw.wuerzburg.army.mil> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93i In-Reply-To: <2.2.32.19980724065625.008ef82c@mesb.asgdpw.wuerzburg.army.mil>; from Kurt Kohlmyer on Fri, Jul 24, 1998 at 08:56:25AM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jul 24, 1998 at 08:56:25AM +0200, Kurt Kohlmyer wrote: > I copied everything from /var/ftp to /usr/ftp, made sure of all the > permissions and changed FTP's home directory in /etc/passwd to /usr/ftp but > anonymous ftp logins still come in to /var/ftp. Did you really edit /etc/passwd? If so, that is your problem. You should edit the password file using "vipw", which will present you with a copy of /etc/master.passwd to edit. When you are done, it will regenerate /etc/passwd and the databases (pwd.db and spwd.db) from it. You can also use chpass to edit one user's home directory, shell, and so forth. It formats the fields in a more readable way that is a little easier to read, IMO. -- Matthew Hunt * Stay close to the Vorlon. http://www.pobox.com/~mph/pgp.key for PGP public key 0x67203349. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message