Copy user's account information from one server to another.

I just installed SLES 11 on a new server to replace an older box that
was running the same SLES 11. How can I migrate/move all the user’s
accounts information…? (usernames, passwords, etc…)


aacampos

aacampos’s Profile: http://forums.novell.com/member.php?userid=112628
View this thread: http://forums.novell.com/showthread.php?t=449765

Hi

If you have not a lot of users to migrate, you can copy the users from
/etc/passwd and /etc/shadow to the new system. But attention: You need
to assure, that you leave the UID’s unique. Then you also need to create
the users-homedirectories and set the correct ownership/permissions on
these directories. Possibly you also need to modify group memberships or
add groups, which existed on the old system, in /etc/group…

Regards,
Tom


amo_vzug

amo_vzug’s Profile: http://forums.novell.com/member.php?userid=25342
View this thread: http://forums.novell.com/showthread.php?t=449765

Hi Tom…, would be a good idea copy the /etc/passwd /etc/shadow
/etc/group files and the home directory too…?


aacampos

aacampos’s Profile: http://forums.novell.com/member.php?userid=112628
View this thread: http://forums.novell.com/showthread.php?t=449765

Hi

I would be careful with a hard 1:1-copy of these files. I would just
copy the users (possibly UID >1000 (described in /etc/login.defs)) and
the groups. You need to prevent, that there are users/groups with the
same UID. How many users do you have to migrate?

Regards,
Tom


amo_vzug

amo_vzug’s Profile: http://forums.novell.com/member.php?userid=25342
View this thread: http://forums.novell.com/showthread.php?t=449765

I have to migrate 1250 users, but all of them have the same profile,
home directory, etc… It’s just a matter of the username and password
situation…


aacampos

aacampos’s Profile: http://forums.novell.com/member.php?userid=112628
View this thread: http://forums.novell.com/showthread.php?t=449765