*BSD News Article 75990


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!02-newsfeed.univie.ac.at!news.ecrc.de!news.forth.gr!news-ath.forthnet.gr!news-the.forthnet.gr!usenet
From: angel@spark.net.gr (Angelos Vasdaris)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.unix.unixware.misc
Subject: Re: User accounts transfer UW2.03 -> FreeBSD 2.1.5
Date: Mon, 12 Aug 1996 14:25:57 GMT
Organization: SparkNet S.A.
Lines: 44
Message-ID: <4unel3$id@aglaia.forthnet.gr>
References: <4uemqn$qnh@aglaia.forthnet.gr>
NNTP-Posting-Host: pc2.spark.net.gr
X-Newsreader: Forte Free Agent 1.0.82
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:25360 comp.unix.unixware.misc:15016

angel@spark.net.gr (Angelos Vasdaris) wrote:

>We're going to replace our Unixware 2.03 server with another one witch
>will be running FreeBSD 2.1.5. 

>Are there any ideas on how to transfer our users's accounts from the
>old to the new machine?

>I can backup/restore home dirs but what about the accounts and
>passwords. Can I follow the same process for /etc/passwd and shadow
>files?

Finally I made it! Thanks to the kind help of Robert Olivier.
Steps I followed:

1. Transfered /etc/password , /etc/shadow files from UW to FreeBSD
machine.
*2. Ran some scripts to transform UW password file type to FreeBSD
master.passwd type and create new home dirs (need awk,perl)
3. Created a new /etc/master.passwd file witch includes all default
users from FreeBSD and all home users from UW. (automatically created
from step 2)
4. Installed DES package from ftp.freebsd.org.
5. Changed root's and my password again
6. Rebooted the FreeBSD machine
7. Ran cd /etc ; pwd_mkdb -p master.passwd

* I can provide those scripts if you need them...


I hope those instructions can help anyone whith a similar problem,



angel.
***************************************************************
* Angelos Vasdaris           * SparkNet S.A.
* System Mgr                 * Al. Papanastasiou 5
*                            * 546 39, THESSALONIKI
*                            * HELLAS (GR)
* angel@spark.net.gr         * http://www.spark.net.gr
*                            * Tel. +30-31-868080 - Fax. 867778
***************************************************************