From owner-freebsd-isp Wed Oct 4 3:19:49 2000 Delivered-To: freebsd-isp@freebsd.org Received: from mail-secure.toplink.net (mail-secure.toplink.net [195.2.171.5]) by hub.freebsd.org (Postfix) with ESMTP id 2BF6737B503 for ; Wed, 4 Oct 2000 03:19:41 -0700 (PDT) Received: from localhost.toplink.net (mail-scan.toplink.net [195.2.171.141]) by mail-secure.toplink.net (8.9.3/8.9.3) with ESMTP id MAA94560; Wed, 4 Oct 2000 12:19:28 +0200 (CEST) Received: from mail-secure.toplink.net (mail-scan [127.0.0.1]) by localhost.toplink.net (8.9.3/8.9.3) with ESMTP id LAA26290; Wed, 4 Oct 2000 11:57:13 +0200 Received: from babylon.toplink.net (babylon.toplink.net [195.2.171.90]) by mail-secure.toplink.net (8.9.3/8.9.3) with ESMTP id MAA94556; Wed, 4 Oct 2000 12:19:25 +0200 (CEST) Received: from localhost (ck@localhost) by babylon.toplink.net (8.9.3/8.9.3) with ESMTP id MAA38930; Wed, 4 Oct 2000 12:19:25 +0200 (CEST) Date: Wed, 4 Oct 2000 12:19:25 +0200 (CEST) From: Christian Kratzer To: Dave Cc: freebsd-isp@FreeBSD.ORG Subject: Re: master.passwd conversion In-Reply-To: <2.2.32.20001004070436.0071f1dc@dbtech.net> Message-ID: X-NCC-RegID: de.toplink X-Spammer-Kill-Ratio: 75% X-Jihad: Will hunt down all cases of Spam and Net abuse. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, On Wed, 4 Oct 2000, Dave wrote: > Hi, I am moving a customer from a 2.1.6 box to 4.1 > Is there anyway or a utility to convert the master.passwd file to retain the > current passwords. They have several hundred users. The format has not changed. merge the master.passwd from the 2.1.6 box with the new one from the 4.1 box using vi or any other editor. save the new file to /etc/master.passwd.new run pwd_mkdb -p /etc/master.passwd.new This will build /etc/pwd.db /etc/spwd.db and /etc/passwd and install a new /etc/master.passwd Greetings Christian Kratzer Toplink -- TopLink Internet Services GmbH ck@171.2.195.in-addr.arpa Christian Kratzer http://www.toplink.net/ Phone: +49 7032 2701-0 Fax: +49 7032 2701-19 FreeBSD spoken here! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message