LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 01-03-2005, 03:02 PM   #1
jdavidow
Member
 
Registered: Sep 2004
Posts: 42

Rep: Reputation: 15
Changing Distros


Last year, I set up a Fedora 2 box to handle mail and a couple PHP websites. This box was dying, so I needed to set up a new one.

A friend convinced me to try Debian, and I like it quite a bit.

But now I need to move my users over. I have about 10 total users and their homes. Not a lot of stuff.

What is the bes way to do this? Should I just create new accounts, copy the homes and then set permissions?

Or is there some best known method for migrating?

Thanks!

Jed
 
Old 01-03-2005, 03:26 PM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 57
hi there

yes i think u can take a backup of home folders
apart form other activities

regards
 
Old 01-03-2005, 03:44 PM   #3
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
One thing you'll need to make sure of is that the users have the same UID on the new system, otherwise your permissions will be b0rked completely.
 
Old 01-03-2005, 03:55 PM   #4
jdavidow
Member
 
Registered: Sep 2004
Posts: 42

Original Poster
Rep: Reputation: 15
So here's some questions:

Should I just edit /etc/passwd and add the users, and assign them the same UIDs? Then give them all passwords via the passwd command?

What if a UID is already used up on the new machine? For example, what if a user had a UID of 110 on the old machine, but a different user has 110 on the new machine?

What do I have to do to change an existing user's ID? Just change it in /etc/passwd and then chown his ~/?

Thanks again!
 
Old 01-03-2005, 03:57 PM   #5
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
I would just create the users in the new system, copy the home directories over, and then run "chown" for each of them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing distros, can I keep files?? Zerboxx Linux - Newbie 4 04-26-2005 12:17 PM
Changing Distros Treefrog Fedora 10 02-03-2005 12:51 PM
Changing Distros? apachedude Linux - Newbie 2 10-14-2004 08:44 PM
Changing Distros... DaveThePuzzled Linux - Distributions 20 06-16-2004 06:08 AM
Changing distros gwhlevy Linux - Software 5 07-11-2002 08:51 PM


All times are GMT -5. The time now is 06:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration