LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-21-2005, 10:41 AM   #1
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Rep: Reputation: 31
Importing Mandrake Accounts into Ubuntu


I have 4 partitions: boot, root, home, and swap. And 2 Mandrake user accounts. Does Kubuntu's (or Ubuntu's) installer have an option that'll let me replace only the operating system and keep my user account settings in Mandrake? Will Ubuntu be able to import my user accounts from Mandrake?

edit: Nevermind. I'm just going to format and start fresh.

Last edited by Cinematography; 05-21-2005 at 02:08 PM.
 
Old 05-22-2005, 07:56 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You don't need to reformat the home partition. You could either change the uid/gid values to match your ubunto users or copy files that you want later on. The later would probably be easiest. I don't know if ubunto uses the shadow system. If it does, you could even copy the lines from /etc/passwd and /etc/shadow for each user to retain their old passwords.
Something not touched during an install (if it exists in it's own partition) is /usr/local.

A tricky part for the first option would be handling some of the owner/group uid/gid values for some files in ~/.kde. Using the second option you could copy only files in ~/Documents and ~/downloads if you wanted to. Keeping the old home directories around might allow you to recover old email, for example, if your old system stored the messages in the users home directory rather then in var/cache.
 
Old 05-23-2005, 12:05 PM   #3
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
Thanks a lot for your reply, jschiwal. I think Mandrake accounts are numbered like this: 501, 502, 503, and Ubuntu accounts are numbered like this: 1000, 1001, 1002. I'm not completely sure though.

The only thing I'm worried about are the DVD backups I have stored on my harddrive. I could easilly reconfigure everything else. My plan is to replace Mandrake with Ubuntu, move my DVD files and documents to Ubuntu, and manaully delete my old accounts.

Does that sound like a good idea?
 
Old 05-23-2005, 04:25 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you are restoring plain documents from your backup, there would be no problem. However, you will need to use the chown command to change the ownership of the files.

Don't expect to restore files from /etc however. You could restore them to a directory in your home page for example and use them as a reference. Some configuration files may be the same, such as /etc/sudoers. Others will be quite different. For example the startup scripts. Ubuntu doesn't use PAM, so authentication is completely different. Some commands on Mandrake are actually links to something like /usr/sbin/console-helper ( I'm relying on memory here ) which rely on the first command line argument to determine the command to run, and incorporate the PAM system to control access and authentication. Some of the files in /etc/sysconfig may be the same or similar. These files will probably be created by the installation anyway, so you shouldn't need to replace them.

Other files in /etc will be created automatically by some other program and shouldn't be manually altered.

Good Luck!
 
Old 05-23-2005, 07:29 PM   #5
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
Thanks a lot, jschiwal. I am now using Ubuntu and my Mandrake files are safe. One little problem though. I'll explain it in a new thread.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
qmail -- new accounts can't receive mail, but old accounts can b:z *BSD 1 07-13-2005 12:42 AM
Bringing Mandrake user accounts to Kubuntu Cinematography Linux - Distributions 4 05-21-2005 10:18 AM
I can't switch user accounts in Mandrake 10.1 CE!! How do I fix that??? Ausar Linux - Newbie 3 10-07-2004 10:44 PM
Problem importing Mandrake Cooker public GPG key hazza Mandriva 2 07-26-2004 05:38 AM
migrate from RH 7.3 to Mandrake 9.2, keep user accounts spirosx Linux - General 1 07-01-2004 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:35 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration