From owner-freebsd-questions Mon Nov 3 11:42:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA27404 for questions-outgoing; Mon, 3 Nov 1997 11:42:00 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA27398 for ; Mon, 3 Nov 1997 11:41:57 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id LAA28514; Mon, 3 Nov 1997 11:37:43 -0800 (PST) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd028511; Mon Nov 3 19:37:35 1997 Message-ID: <345E2791.31DFF4F5@whistle.com> Date: Mon, 03 Nov 1997 11:35:45 -0800 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Patrick Vierheilig CC: freebsd-questions@FreeBSD.ORG Subject: Re: Passwd files References: <3.0.1.32.19971102124406.00ad17b4@mail.westsound.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Patrick Vierheilig wrote: > > Greetings. > > Is there an *easy* way to import a Linux p/w file to an FreeBSD p/w file > structure? We are moving our www server from Linux to FreeBSD due to some > of the /better/ inherent pluses of FreeBSD. > > thanks, > > Patrick the file in FreeBSD that you want to move them to is master.passwd if linux is using DES passwords, then you need to make sure you have DES running on the FreeBSD system too there are 2 extra fieslds in the freebsd passwd file. they have the values :0:0: use awk to add them to the Linux password file. always use vipw to edit the passwd file on freebsd.. (just type 'vipw') (if you get 'ee' then exit, and set $EDITOR to vi) read in the new password file you've made, and save it, then exit..