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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting user accounts

Status
Not open for further replies.

bluedragon2

IS-IT--Management
Jan 24, 2003
2,642
US
Is their a way to migrate/export user accounts from one server to another new server?

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
The couple of times I've done it I've just tar'ed up the user directories, grabbed /etc/shadow and /etc/passwd, and ftp'ed it all over to the new server. I appended the contents of /etc/passwd and /etc/shadow to the existing ones after editing out accounts (like root) that already existed on the new server. I then untar'ed the user directories into place. It's ugly but it worked just fine for me. Just make sure you pick a quiet time on the systems.


_______
Linnorm
 
Yeah, I was trying to avoid doing it like that. I wasn't sure it their was an export/import utility or not.

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
If the user is in /etc/mail/aliases.
If the user has mail in /var/mail.
If the user has a cronjob/crontab.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top