What's the best / easiest (preferably both <g>) way to migrate users and
groups from an AIX 4.3 box to an AIX 5.3 box? I'd like to keep user IDs and
such the same, since files are currently being copied over with preserved
user IDs and permissions.
Thanks,
CL
Hi,
I have copied users from one system to another by copying these files
/etc/passwd
/etc/group
/etc/security/passwd
/etc/security/group
/etc/security/user
/etc/security/limits
/etc/security/environ
/etc/security/login.cfg
Need to check out the following:
/etc/security/.ids
/etc/security/.profile
Obviously this wipes out any current users and sets roots password to
that of the system oyu are copying from.
I have done this a few times on systems at various levels (although
cant remember if I've actually gone from 4.3.3 to 5.3 - I dont *think*
I have).
Of course you will also need to setup /home/<user> or perhaps just
copy the entire contents of /home from a backup.
Scott
Another approach would be to parse the output from
$ lsuser -a id pgrp groups home gecos ... ALL
and use it as an input for
$ mkuser
$ chuser
hth
Hajo
"Hajo Ehlers" <ser...@metamodul.com> schreef in bericht
news:519563de-cd09-42ed...@n20g2000hsh.googlegroups.com...
Both is possible.
This is the one i preferred .......
Regards,
Geert