On Fri, 13 Feb 2004, Paul Hoffman wrote:
Greetings again. I'm kinda surprised that this isn't an FAQ, but...
How do I move users and passwords from a current system to a new one?
Is it sufficient to move /etc/master.passwd and /etc/passwd, or are
there other things?
I always just copy over the files when no other process is using them.
/etc/master.passwd /etc/passwd /etc/group
I then run
/usr/sbin/pwd_mkdb -p /etc/master.passwd
on the new machine to generate the passwd databases.
Try to look for a flag one can use with rsync to keep modification time,
access time, file flags, file mode, user ID, and group ID as
allowed by permissions...
copied from man cp -p flag comment.
m
I'm moving from an oldish 4.8 system to a brand new 4.9 system, and
want to have all the users set up on the new machine before I start
rsyncing everything over so that the users and groups come out right.
--Paul Hoffman
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]