From owner-freebsd-questions@FreeBSD.ORG Mon May 3 01:30:53 2004 Return-Path: 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 BE1B716A4CE for ; Mon, 3 May 2004 01:30:51 -0700 (PDT) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 320DD43D58 for ; Mon, 3 May 2004 01:30:51 -0700 (PDT) (envelope-from bonnetf@bart.esiee.fr) Received: from localhost.esiee.fr (localhost.esiee.fr [127.0.0.1]) by mail.esiee.fr (Postfix) with ESMTP id 07C33365914 for ; Mon, 3 May 2004 10:30:50 +0200 (CEST) Received: from mail.esiee.fr (localhost.esiee.fr [127.0.0.1]) by localhost.esiee.fr (VaMailArmor-2.0.1.16) id 80621-16CE5803; Mon, 03 May 2004 10:30:50 +0200 Received: from bart.esiee.fr (desolation.esiee.fr [147.215.1.13]) by mail.esiee.fr (Postfix) with ESMTP id D0996365913 for ; Mon, 3 May 2004 10:30:49 +0200 (CEST) Message-ID: <40960339.3070100@bart.esiee.fr> Date: Mon, 03 May 2004 10:30:49 +0200 From: Frank Bonnet User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.6) Gecko/20040113 X-Accept-Language: fr-fr, en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.83.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.16; VAE: 6.25.0.3; VDF: 6.25.0.45; host: mail.esiee.fr) Subject: rebuild pwd.db with a script ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: f.bonnet@esiee.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 08:30:53 -0000 Hi I need to rebuild with a shell script (in batch mode) the /etc/pwd.db file from the /etc/master.passwd file each time it is modified by me for internal use. Is there a command that allow to do this ? Thanks a lot. -- Regards, Frank Bonnet