From owner-freebsd-questions@FreeBSD.ORG Sat Jan 10 12:37:44 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 C933B16A4CE for ; Sat, 10 Jan 2004 12:37:44 -0800 (PST) Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4B5143D31 for ; Sat, 10 Jan 2004 12:37:43 -0800 (PST) (envelope-from welchdw@earthlink.net) Received: from user-2ivfedb.dialup.mindspring.com ([165.247.185.171] helo=gandalf.welch.net) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1AfPrY-0004Hx-00; Sat, 10 Jan 2004 12:37:40 -0800 Received: from gandalf.welch.net (localhost [127.0.0.1]) by gandalf.welch.net (8.12.6/8.12.6) with ESMTP id i0AKbdxA064946; Sat, 10 Jan 2004 15:37:39 -0500 (EST) (envelope-from welchdw@gandalf.welch.net) Received: (from welchdw@localhost) by gandalf.welch.net (8.12.6/8.12.6/Submit) id i0AKMdVP064908; Sat, 10 Jan 2004 15:22:39 -0500 (EST) Date: Sat, 10 Jan 2004 15:22:39 -0500 From: Dan Welch To: Frank Message-ID: <20040110202239.GA64885@gandalf.welch.net> References: <20040107133314.A26989@bart.esiee.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040107133314.A26989@bart.esiee.fr> User-Agent: Mutt/1.4i cc: freebsd-questions@freebsd.org Subject: Re: How to use LDAP passwd at 4.9 ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Welch List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 20:37:44 -0000 On Wed, Jan 07, 2004 at 01:33:14PM +0100, Frank wrote: > > at last is it possible to modify the /etc/master.passwd > file with a shell script to add some entries in it the > modify the passwd database WITHOUT using vipw ? I use pw in scripts to avoid vipw. From the manpage: "The pw utility handles updating the passwd, master.passwd, group and the secure and insecure password database files, and must be run as root."