-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On May 29 Joachim Schipper wrote:

On Mon, May 28, 2007 at 10:13:48PM -0500, Denny White wrote:

I've been running a snapshot from several months back & got my
new 4.1 cds finally. Uname shows OpenBSD 4.1 Generic#0. I want
to keep my existing /home & /data partitions, delete all the
rest, recreate them & finish the install. After I reboot, I was
hoping I could copy over the old users from the old /etc/group
into the new one, copy the old passwd over & run pwd_mkdb. Just
want to know if I've reasoned it out correctly or not, if it is
right if there's anything else I need to run to synchronize
things, & so on. I've tried looking up that kind of scenario with
google, in the mail archives & so forth & just don't seem to come
up with what I need. The point of what I'm trying to accomplish
is not to have to copy so much from the 2 aforementioned partitions
to another drive & then copy it all back after recreating users.
Thanks for any help.

Be careful: each release adds, and occasionally removes, new system
users. It's far safer to either update or reinstall, and you'll want to
look at www.openbsd.org/current.html for anything resembling an update.

                Joachim

Thanks, Joachim. I was going to look in the new group after a fresh
install to see what had been added or removed. Always before I've
either done a complete fresh install or an upgrade, so I didn't have
to worry about the users in /home. I just recreated them on the new
system, if it was a fresh install, with their same uid's. Then I
copied everything from backups back over to the respective dirs.
I was just trying to get out of doing that this time. I figured
at the very worst my idea wouldn't work & I'd have to wipe it all
out & do it the old way. I thought if I added the old /home users
to the new /etc/group, copied the /home dirs over, ran pwd_mkdb &
properly chown the /home dirs, it might work. That's what I was
trying to find out. Now that I've thought more about it, probably
the easiest way is to just exclude /home & /data when I delete &
recreate the other partitions, recreate the users on the new install
with their same uid's, & run pwd_mkdb & their dirs will be okay.
Thanks for your answer & info. I think I've unnecessarily complicated
this. ;) Thoughts?

- --Denny White


===============================================================
GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
===============================================================
iD8DBQFGXZ4hy0Ty5RZE55oRAipYAKC81rBtYu3mVmilYlAbPuDJLhurMQCfaC/h
CdAe5l6Kac/xffbl0rsQi/E=
=D5xG
-----END PGP SIGNATURE-----

Reply via email to