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 - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-12-2006, 07:58 PM   #1
rickylim
Member
 
Registered: Jan 2006
Location: Malaysia
Distribution: RedHat & FreeBSD
Posts: 68

Rep: Reputation: 15
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.
 
Old 04-12-2006, 08:12 PM   #2
ultramancool
Member
 
Registered: Jul 2004
Location: Hell
Distribution: Gentoo 2005.1 r1
Posts: 92

Rep: Reputation: 15
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.
 
Old 04-13-2006, 06:47 AM   #3
rickylim
Member
 
Registered: Jan 2006
Location: Malaysia
Distribution: RedHat & FreeBSD
Posts: 68

Original Poster
Rep: Reputation: 15
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
 
Old 04-14-2006, 01:53 AM   #4
rickylim
Member
 
Registered: Jan 2006
Location: Malaysia
Distribution: RedHat & FreeBSD
Posts: 68

Original Poster
Rep: Reputation: 15
Hi all,

Please help.

Many Thanks.!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User account migration and permissions psychobyte Linux - Networking 4 05-26-2006 11:23 PM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM
linux create user account deus1 Linux - General 2 06-04-2005 06:32 PM
Linux to FreeBSD migration tmakobu *BSD 4 03-23-2004 07:37 PM
User account migration mjakob Linux - General 14 09-26-2001 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:21 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