From owner-freebsd-questions@freebsd.org Wed Dec 16 13:19:54 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75F8BA49353 for ; Wed, 16 Dec 2015 13:19:54 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 926B964AD1 for ; Wed, 16 Dec 2015 13:19:51 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id tBG7Rx8p043067; Wed, 16 Dec 2015 08:27:59 +0100 (CET) (envelope-from bah@bananmonarki.se) Subject: Re: problen with pw useradd? To: kpneal@pobox.com, krad References: <566F8C37.4080800@bananmonarki.se> <20151215082721.2357ecdd@planb.netng.org> <566FE7D3.2060203@bananmonarki.se> <20151216025825.GA92798@neutralgood.org> Cc: Vladimir Botka , FreeBSD Questions From: Bernt Hansson Message-ID: <5671127F.5060502@bananmonarki.se> Date: Wed, 16 Dec 2015 08:27:59 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151216025825.GA92798@neutralgood.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 13:19:54 -0000 On 2015-12-16 03:58, kpneal@pobox.com wrote: > On Tue, Dec 15, 2015 at 10:16:57PM +0000, krad wrote: >> Check the text files aren't out of sync with the binary dbs. Is do a vipw >> and save > Or you can use pwd_mkdb to be _sure_ you got it. From the man page: > > EXAMPLES > Regenerate the password database after manually editing or replacing the > password file: > > /usr/sbin/pwd_mkdb -p /etc/master.passwd Thank you! That did the trick.