l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 7: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2003 Jun 16 09:56

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Migration from UNIX to Redhat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Migration from UNIX to Redhat



Ehrhart, Jay said:
> I want to migrate users, passwords and email from an Intergate UNIX box
> to my new Redhat 8.0 server.
>
> I don't know where to start.  How can I make the transition from the
> UNIX box to the Redhat server?

Passwords:
There are really only 4 different (common) password systems that can be
found by combining the following:
shadow/non-shadow
conventional hash/md5 hash

If the password is shadow/non-shadow, then you can oftem work around that,
but hashing algo cant be effectively different.

To test this, copy the password field from the UNIX box to a user's
password field in the other box.

(In Debian, you can choose which of the two hashing algos you want to use.
Not sure about RH.)

See if you can log in as that users on the new box.

When you migrate accounts over, you'll want to set up scripts that try to
use the same UID/GID as the original system. Then populate the new
system's password file with the same uid/gid. (Not a requirements, but
makes file migration easier.) You won't want to copy the *system*
usernames/groups and their associated uid/gid though -- just the users on
the system.

As for mail, there are really two common formats:
mbox and Maildir, though there are some differences in what is stored in
Maildir formats.

For these, a copy of the mail folder (keeping GID/UID in the copy/tar) can
help to move them to the new system.

if mbox, a simple script may help (mbox storage of mail in common spool
often has mboxes that are named after the owner...):
# cd /var/spool/mail
# for i in * ; do chown ${i}.mail $i ; done

You can build other scripts to help you.

(also, by populating the new password file with each users same uid,
copying of files from the old system that retain uid/gid will make
ownership =issues not so much of a problem.)

The above is a start, but not a complete view. It should be enough to get
you started.


-ME

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.