Date: Tue, 28 Jul 1998 08:18:38 -0500 (CDT) From: Mark Tinguely <tinguely@plains.NoDak.edu> To: alex@muse.org.au Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Moving passwd files from LINUX to FreeBSD Message-ID: <199807281318.IAA14422@plains.NoDak.edu>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807281318.IAA14422>