Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving users from one server to another.

Status
Not open for further replies.

redwings

MIS
Aug 6, 2001
93
US
Is there any well documented way to move all the users along with their security and permissions from one server to another. We have just gotten a new server and we are looking for a way to skip using smit to add the 1000,users to the new server. Is there anyway to get around readding the users?
 
redwings,

To move over all users/groups I would follow the procedure below.

I am making the assumption that all home directories sit under /home.

Copy over and append

/etc/passwd
/etc/group

/etc/security/group
/etc/security/passwd
/etc/security/limits
/etc/security/lastlog
/etc/security/user

I tend to vi in the details for all non-OS users and edit out the duplicate OS entries. Once completed check the completeness and consistency of the files via:

usrck -y ALL
pwdck -y ALL
grpck -y ALL

tar up /home, copy over and restore.

Best of luck

PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
Thanks for the help. I have successfully moved everyone over to the new server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top