From owner-freebsd-questions Wed Apr 10 11:50:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id CB7BF37B404 for ; Wed, 10 Apr 2002 11:50:18 -0700 (PDT) Received: from hades.hell.gr (patr530-a165.otenet.gr [212.205.215.165]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g3AIoCwA000538; Wed, 10 Apr 2002 21:50:13 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.2/8.12.2) with ESMTP id g3AIo5A7000490; Wed, 10 Apr 2002 21:50:11 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.2/8.12.2/Submit) id g3AIaqij000377; Wed, 10 Apr 2002 21:36:52 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 10 Apr 2002 21:36:52 +0300 From: Giorgos Keramidas To: Unix Newbie Cc: freebsd-questions@FreeBSD.ORG Subject: Re: changing ftpd's anonymous root directory Message-ID: <20020410183652.GA334@hades.hell.gr> References: <1017952363.8817.36.camel@debian> <1ZT5VFBj31r8Ewn9@caomhin.demon.co.uk> <1018164982.1354.12.camel@debian> <20020409135430.B19376@veverka.sh.cvut.cz> <1018234364.1636.4.camel@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1018234364.1636.4.camel@debian> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-04-07 19:52, Unix Newbie wrote: > The vipw worked great! I had already modified both files apropriately, > but just saving the already modified files with the vipw command took > care of everything. Must have had something to do with rebuilding that > whole database thing. After manually modifying /etc/master.passwd you need to run: # pwd_mkdb but etting EDITOR to a proper program and running vipw is so much easier that it is the preferred way for editing passwd of most users, I guess :) Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message