Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 1999 00:10:14 -0400 (EDT)
From:      Trevor Johnson <trevor@jpj.net>
To:        Robin Huiser <R.Huiser@Winthesis.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Migrating users + passwords to a new installed system
Message-ID:  <Pine.BSI.3.95.991031000357.22786D-100000@blues.jpj.net>
In-Reply-To: <E12964702DD4D011A39D00805FE44CE5190C4D@ARAGORN>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi!

Hi, Robin.

> How do I migrate my users, passwordfiles + homedirs to a newly installed
> FreeBSD system?

Assuming you were using FreeBSD before, probably this would be enough:

- copy the /etc/passwd and /etc/master.passwd files from old system to new
- run pwd_mkdb
- tar up the home directories, mail spools, crontabs, and (if you want)
  temporary files on the old system
- untar them on the new system

If you do the last step before the first, the untarred files will probably
end up owned by root.wheel.
__
Trevor Johnson



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?Pine.BSI.3.95.991031000357.22786D-100000>