*BSD News Article 58030


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!agate!news.mindlink.net!van-bc!news.wimsey.com!not-for-mail
From: jhenders@wimsey.com (John Henders)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Moving users from Linux to BSDI
Date: 4 Jan 1996 13:12:56 -0800
Organization: Wimsey Information Services
Lines: 33
Message-ID: <4chfso$cfe@vanbc.wimsey.com>
References: <4cfsqa$h8e@sleet.snowhill.com> <4cgtbn$5dp@hops.entertain.com>
NNTP-Posting-Host: vanbc.wimsey.com
X-Newsreader: NN version 6.5.0 #3 (NOV)

dwatson@abwam.com (Darryl Watson) writes:

>In article <4cfsqa$h8e@sleet.snowhill.com>, fred@fart.com (Norm) says:

>> The question I have is, what can I do 
>>to move our passwd data to BSDI from Linux? I am under the assumtion 
>>the two OS's do the password encryption differently. And is there an 
>>easy<G> way to  get all the user directories created? The Linux vs. BSDI 
>>home directories are not the same as far as contents so I can't just tar 
>>them and move them over.

>I think you are out of luck in trying to preserve password data between
>Linux and BSDi.

Au Contraire. I just tried it and there's no problem moving a linux
encrypted password to BSDI. The lizard manual has a short awk script you
can use to convert the linux passwd file to the BSD style, though if you
use shadow on linux, you'd need to run pwunconv first to get the
encrypted passwords back into the passwd file.

As to moving the directorys, if you have a lot of shell users who use
trn, elm etc, I'd highly recommend you do tar up the old tree and move
it. If you want to change a few files to the BSDI equivalents, write a
simple script to move the old ones to backups, then copy in the BSDI
equivalents. Any user who has personal linux binaries in their home
directory will hopefully be able to take care of their replacement
themselves.

-- 
               John Henders  BOFH  Wimsey Information Systems. 
               Vancouver's original internet service provider.
                         http://www.wimsey.com