Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!usenet.ins.cwru.edu!gatech!news.mathworks.com!nntp.primenet.com!uunet!inXS.uu.net!news.artisoft.com!usenet From: Terry Lambert <terry@lambert.org> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: moving from NEXTSTEP to FreeBSD Date: Tue, 25 Jun 1996 20:10:11 -0700 Organization: Me Lines: 33 Message-ID: <31D0AA13.578C5F00@lambert.org> References: <4qnq9f$i2g@handel.jlc.net> NNTP-Posting-Host: hecate.artisoft.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.01 (X11; I; Linux 1.1.76 i486) Jason T. Nelson wrote: ] ] We'll be in the process of moving our last big NEXTSTEP (Intel) ] machine from NEXTSTEP to FreeBSD (after much prodding). Problem ] is, it contains a sizable password file in it's NetInfo database ] (for those who may not know, it's NeXT's proprietary NIS-like ] distributed database). I can export the NetInfo passwd file ] into it's Un*x flat-file format (standard /etc/passwd) ] containing the DES encrypted passwords. If I install FreeBSD ] on a machine with DES and just copy the exported password file, ] are the chances good that the password file will operate (after ] tweaking some of the lower numbered users, of course)? This is ] the only thing holding me back; I don't feel like re-adding ] hundreds of user entries :) DES is DES. "nidump" the passwd file, and sed it into the format <account name>:<DES password>:<UID>:<GID>::0:0:<user name>:<users home directory>:<users shell> Then "vipw" and :r the file. Save and exit. It should rebuild the BSD database (or whine about invalid lines). Test a couple of accounts to make sure, and you are set. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.