From owner-freebsd-questions@FreeBSD.ORG Sun Nov 27 00:37:21 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E1D816A41F for ; Sun, 27 Nov 2005 00:37:21 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCB4343D53 for ; Sun, 27 Nov 2005 00:37:20 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id EC38D5F84; Sat, 26 Nov 2005 19:37:19 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 51979-08; Sat, 26 Nov 2005 19:37:19 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-122-227.ny325.east.verizon.net [68.161.122.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 1A1A95CF4; Sat, 26 Nov 2005 19:37:19 -0500 (EST) Message-ID: <4388FFBE.2020803@mac.com> Date: Sat, 26 Nov 2005 19:37:18 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "matt ." References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: Fun with passwd files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2005 00:37:21 -0000 matt . wrote: [ ... ] > The question now is this...I see a switch for pwd_mkdb which is "-p", > meaning generate a /etc/passwd file. Going forward, when manually adding a > new user to /etc/master.passwd, am I now to issue "pwd_mkdb -p " to > properly update /etc/passwd at the same time? Seems to me this is the thing > to do, however it's my first time really messing with this sort of thing... Set $EDITOR properly, and run "vipw". That program will let you edit the password file and then update the other system-specific password databases correctly. -- -Chuck