Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old February 5th, 2002, 03:13 PM
vizeta vizeta is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Toronto, Canada
Posts: 22 vizeta User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question How to transfer user accounts?

Hi,
I'm going to move my old linux to the other new machine. However, how can I backup all those user accounts and restore them on the new machine? Please help. Thanks.

vizeta

Reply With Quote
  #2  
Old February 5th, 2002, 06:12 PM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
Copy the home directories (found under /home/) and the appropiate lines from /etc/passwd and /etc/shadow (only for real users, not for system stuff, not for root).

Reply With Quote
  #3  
Old February 6th, 2002, 08:43 AM
vizeta vizeta is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Toronto, Canada
Posts: 22 vizeta User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up

That's it? Thank you man. Let me try it.

Reply With Quote
  #4  
Old February 6th, 2002, 08:45 AM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
One more thing - copy or backup /root/, if root wants to have his/her settings and personal files (although there shouldn't be any ) back.

Reply With Quote
  #5  
Old February 6th, 2002, 11:05 PM
MattWil MattWil is offline
YaBN (Yet another BSD Newbie)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 74 MattWil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
There is more that you need to copy. The first thing you should copy is the /etc/group file. If you don't, what happens to all the owners of the files?
__________________
-MattWil

Reply With Quote
  #6  
Old February 7th, 2002, 05:37 AM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
Oops - you're right.

Reply With Quote
  #7  
Old February 7th, 2002, 08:49 AM
vizeta vizeta is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Toronto, Canada
Posts: 22 vizeta User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thx MattWil and realnowhereman,
So, what I should to do is:

1/ Copy /home/user directory
2/ Copy /etc/passwd
3/ Copy /etc/shadow
4/ Copy /root
5/ Copy /etc/group

Thanks again.

Reply With Quote
  #8  
Old February 7th, 2002, 08:51 AM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
If you're not changing your distro or upgrading to a newer version, this should be sufficient.

Reply With Quote
  #9  
Old February 12th, 2002, 09:37 PM
MattWil MattWil is offline
YaBN (Yet another BSD Newbie)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 74 MattWil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Sorry if this is late but copy /etc/group first. If you don't then when you copy /home/user all of the files will lose their group setting.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > How to transfer user accounts?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway