Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2001 16:27:38 -0800
From:      Travis Cole <tcole@nihilist.org>
To:        Stan Brown <stanb@awod.com>
Cc:        Free BSD Questions list <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Problems merging old /etc/passwd on new  install
Message-ID:  <20010215162737.E60974@nihilist.org>
In-Reply-To: <20010215192440.85BAE37B401@hub.freebsd.org>; from stanb@awod.com on Thu, Feb 15, 2001 at 02:24:38PM -0500
References:  <20010215192440.85BAE37B401@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010215162737.E60974>