Date: Fri, 24 Jul 1998 11:37:40 -0400 From: Matthew Hunt <mph@pobox.com> To: Kurt Kohlmyer <kohlmyek@asgdpw.wuerzburg.army.mil>, freebsd-questions@FreeBSD.ORG Subject: Re: Anonymous FTP Message-ID: <19980724113740.A21634@flarn.dyn.ml.org> 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 %2B0200 References: <2.2.32.19980724065625.008ef82c@mesb.asgdpw.wuerzburg.army.mil>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mph@pobox.com> * 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980724113740.A21634>