LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-05-2007, 11:52 AM   #1
unixbd
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Red face Problem for OS Migration from Sun Solaris to Linux


Dear all,

I've a Sun solaris-8 server (sparc) which is working as a mail & database server of my network. Now, we need to migrate this server & its service to a new linux server.But,it is difficult for me to transfer users data & password file from Solaris to linux.

Would you please inform me that how can I transfer users data & password file from sun solaris to linux and which linux version will be preferable for this task.


With Thanks,

UnixBD
 
Old 09-06-2007, 06:51 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Why not migrating to Solaris 10 for x86 ?
 
Old 09-07-2007, 08:37 AM   #3
miedward
Member
 
Registered: Feb 2007
Distribution: RHEL 4, SOLARIS 10
Posts: 91

Rep: Reputation: 15
Generally you should really only have to copy the user parts of the /etc/passwd, /etc/shadow, /etc/group files and you should be okay to login. The format is one of the few things I have never noticed any difference in across *nix flavors.

Then just copy over the home directories (or mount them) and you should be good to go, user wise.

Don't copy the whole /etc/whatever files though, just copy over the parts for your users. Different *nix versions have different system users and groups and you don't really want to muck these up to much.

Keep in mind I have only done this linux to linux, but I don't know why it wouldn't work from sun to linux. Worth a shot anyway, as long as you back up the old ones.

FYI, if this breaks your ability to login, just go into the grub menu and do an "e" to edit your boot parameters and add "single" to the end. Then if you boot off that modified version you will go into single user mode, which bypasses the broken /etc/passwd file. Then after you restore the old /etc/passwd (etc) files you just reboot, the modified grub settings won't save through to the next boot.
 
  


Reply



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
Difference Between Sun, Sun Os & Solaris rajaniyer123 Solaris / OpenSolaris 5 01-04-2010 07:28 AM
A problem with NVIDIA driver on Sun Ultra 20 M2 (Solaris 10 11/06) crisostomo_enrico Solaris / OpenSolaris 0 07-19-2007 03:51 AM
Printing linux > SUN solaris procfs General 1 07-16-2006 11:18 PM
need to partner with someone on large migration project. Solaris to Linux. dswain Linux - Software 2 01-24-2006 06:01 PM
SUN Solaris vs Linux josealexandre Solaris / OpenSolaris 13 04-25-2004 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:42 PM.

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