[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] User files



Bruce Markey wrote:

> Just a quickie..  We are moving all of our email off of our raq3..  What
> files can i copy to get all of the mail accounts over to the new server.
> 
> Thought I could just copy /etc/passwd and /etc/shadow over but it looks like
> all of the users are not in there.  what file should I be looking for or is
> there a better way.

Run these commands:
$ man 5 shadow
$ man 5 passwd

to see what the files contain.

While you don't say what kind of server you're moving the users to,
copying the files over is certainly NOT a good idea, as doing so will
replace your linux-distribution-specific users and associated
information with the RaQ3's defaults.  At best, this will give you an
unsupportable system; at worst it will end up completely unsuable.

And you still won't have the mailbox contents, and any forwarding
information, alias information, etc.

Forward and alias information are usually in the /etc/virtusertable and
the /etc/alias files, but it's a bad idea to copy these over as well,
even from one RaQ to another.

When I move users, I generally create them on the new system as
required, then cut and paste only the password fields in shadow.

But this won't work either, if you set up your new linux distribution to
use any extended passwords.

I sure hope you're talking about moving them to another RaQ, because if
you're moving them to a generic linux or unix box, then your very
question indicates to me that you may not know how to setup aliases,
forwards, virtual domains for email, etc., all stuff done automatically
on the RaQs.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205