From owner-freebsd-questions Tue Jul 28 06:19:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA08314 for freebsd-questions-outgoing; Tue, 28 Jul 1998 06:19:29 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from plains.NoDak.edu (tinguely@plains.NoDak.edu [134.129.111.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA08293 for ; Tue, 28 Jul 1998 06:19:23 -0700 (PDT) (envelope-from tinguely@plains.NoDak.edu) Received: (from tinguely@localhost) by plains.NoDak.edu (8.8.8/8.8.8) id IAA14422; Tue, 28 Jul 1998 08:18:38 -0500 (CDT) Date: Tue, 28 Jul 1998 08:18:38 -0500 (CDT) From: Mark Tinguely Message-Id: <199807281318.IAA14422@plains.NoDak.edu> To: alex@muse.org.au Subject: Re: Moving passwd files from LINUX to FreeBSD Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG the encrypted passwords are kept in /etc/master.passwd in FreeBSD. the only problem between Linux and FreeBSD password files is that FreeBSD has 3 extra fields between the group and the GEOS field. a simple perl program or awk script can insert those fields: # awk -F: '{print $1":"$2":"$3":"$4"::::"$5":"$6":"$7}' < Linux_passwd > FreeBSD.passwd then make the /etc/master.passwd and /etc/passwd and database files: # pwd_mkdb -p FreeBSD.passwd --mark. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message