From owner-freebsd-questions Thu Feb 15 16:27:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from kant.nihilist.org (kant.nihilist.org [64.6.198.184]) by hub.freebsd.org (Postfix) with ESMTP id 1726F37B503 for ; Thu, 15 Feb 2001 16:27:39 -0800 (PST) Received: from nietzsche.nihilist.org (nietzsche.nihilist.org [192.168.1.5]) by kant.nihilist.org (8.10.1/8.10.1) with ESMTP id f1G0RcV04001; Thu, 15 Feb 2001 16:27:38 -0800 (PST) Received: (from tcole@localhost) by nietzsche.nihilist.org (8.11.1/8.11.1) id f1G0Rce61248; Thu, 15 Feb 2001 16:27:38 -0800 (PST) (envelope-from tcole) Date: Thu, 15 Feb 2001 16:27:38 -0800 From: Travis Cole To: Stan Brown Cc: Free BSD Questions list Subject: Re: Problems merging old /etc/passwd on new install Message-ID: <20010215162737.E60974@nihilist.org> References: <20010215192440.85BAE37B401@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010215192440.85BAE37B401@hub.freebsd.org>; from stanb@awod.com on Thu, Feb 15, 2001 at 02:24:38PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Feb 15, 2001 at 02:24:38PM -0500, Stan Brown wrote: > I have just reinstalled 4-STABLE on what was a 4.4 system. > > I saved all the old files, and now I am trying to merge in the users. When > I go inot vipw, and read in the appropriate lines from the old passwd file, > I get an error when I exit vi. > > Heres what I am getting: > > pwd_mkdb: corrupted entry > pwd_mkdb: at line #19 > pwd_mkdb: /etc/pw.330Vd9 Inappropriate file type or format. > > What am I doing wrong here? You will have to give us more information. Your old password file is probably not directly compatible with the new one, and you may need to write a script to convert it... But it would be helpfull to see what an entry from the old one looks like, compared to an entry in the new one.... > I need to get these suers back in with the same UID/GID's, so I can easily > restore there home directries. -- -Travis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message