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…)
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…
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?