LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   User account migration from FreeBSD to Linux (https://www.linuxquestions.org/questions/linux-general-1/user-account-migration-from-freebsd-to-linux-434638/)

rickylim 04-12-2006 07:58 PM

User account migration from FreeBSD to Linux
 
Hi all, good day!

i've setup a mail server running on postfix (maildir) on red had enterprise linux 4 ES.

To replace current FreeBSD 4.9 Stable version Mail Server (running on postfix - mbox).

My questions is:-
1) How do i migrates all the user account (est: 550 users) to the new mail server on linux.

2) How do i move the current mbox format (FreeBSD) to the maildir format (Linux)

Please advice.

Many Thanks.

ultramancool 04-12-2006 08:12 PM

Quote:

Originally Posted by rickylim
Hi all, good day!

i've setup a mail server running on postfix (maildir) on red had enterprise linux 4 ES.

To replace current FreeBSD 4.9 Stable version Mail Server (running on postfix - mbox).

My questions is:-
1) How do i migrates all the user account (est: 550 users) to the new mail server on linux.

2) How do i move the current mbox format (FreeBSD) to the maildir format (Linux)

Please advice.

Many Thanks.

1) You may simple be able to copy over /etc/passwd (shadow and groups too if this would work) to duplicate the user accounts. Otherwise, write a quick perl/awk/sed and bash script to do the work for you.

2) http://batleth.sapienti-sat.org/projects/mb2md/ might have something. Google around a bit.

rickylim 04-13-2006 06:47 AM

Thanks for the reply.

My Questions:-
1) i am confuse in freebsd. There is spwd.db, pwd.db, passwd, group in FreeBSD. So i can just take the passwd and replace?

2) i want to append the content and not overwrite the existing content in linux. how can i do that?

Many Thanks

rickylim 04-14-2006 01:53 AM

Hi all,

Please help.

Many Thanks.!


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