Help needed for Migration from Sun solaris to RHEL.
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I doubt that you can just copy the /etc/passwd file and have
it work as you'd like.
I would create a list of users on the Sun box, use it to
create each of the users on the Linux box, then copy over
all the user's files including their mailboxes. You would
need to assign a new password to each user if it wasn't
assigned when you created the user.
I've done this before, and it's basically straightforward, but there are certainly a few gotchas.
For the user accounts, the solaris box I used had a passwd and shadow file. I was able to write a simple perl script that pulled the user account name, description, uid, gid, and in addition went to the shadow for the crypted password, and built a new passw file to use for the linux box. I then just had to append the passwd and shadow files to the new linux box.
For mail, depending on whether you use IMAP or POP, the process may be different. For my POP server, I just tarred up /var/mail and moved it to the new box. From there I untarred it into the same location and things worked fine. The tarring was important to me in order to keep the correct permissions, ownership, etc...
If you're using IMAP with maildirs, you also would probably have to move the /home partition and the individual folders over in order for the users to have access to their old mail. Not a big deal, basically the same process as above.