From owner-freebsd-questions@FreeBSD.ORG Tue Jul 22 14:46:38 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 63A64BE0 for ; Tue, 22 Jul 2014 14:46:38 +0000 (UTC) Received: from sbg-out.inti.gob.ar (sbg-out.inti.gov.ar [200.10.161.69]) by mx1.freebsd.org (Postfix) with ESMTP id DA6902DEE for ; Tue, 22 Jul 2014 14:46:37 +0000 (UTC) X-AuditID: c80aa145-f790a6d000000dff-d7-53ce75c1de87 Received: from [200.10.161.55] (jb.inti.gov.ar [200.10.161.55]) (using TLS with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by sbg-out.inti.gob.ar (SMTP_INTI) with SMTP id 19.05.03583.1C57EC35; Tue, 22 Jul 2014 11:31:29 -0300 (ART) Message-ID: <53CE75BE.30407@inti.gob.ar> Date: Tue, 22 Jul 2014 11:31:26 -0300 From: Juan Bernhard User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Migrating users from Linux References: <20140722160329.24aff9e6@mordeus> In-Reply-To: <20140722160329.24aff9e6@mordeus> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprALMWRmVeSWpSXmKPExsVygmuhue7B0nPBBk+Xi1u8/LqJxYHRY8an +SwBjFFcNimpOZllqUX6dglcGTeb57MWPGOrmHBoIVsD42rWLkZODgkBE4kDt6ezQNhiEhfu rWfrYuTiEBLoYpJYPukcWBGvgIbE4lW7mUFsFgFViT3HOphAbDYBNYmvZ06B1YgKRElcmN/D CFEvKHFy5hOwoSICihJnzjSC1QgLqEu0L13GBmILCehK3Nj5AqyGU0BPYtmLqWBxZgEdiXd9 D5ghbHmJ5q2zmScw8s1CMnYWkrJZSMoWMDKvYhQuTkrXzS8t0QOGUaZeen6SXmLRJkZIOLnu YNy7Tv0QowAHoxIP74bLZ4OFWBPLiitzDzFKcDArifDOKTwXLMSbklhZlVqUH19UmpNafIhR moNFSZw3WPpIsJBAemJJanZqakFqEUyWiYNTqoGRq6pu49H9tyy/LkgLYs2ezfFD7Kehq6ti K69VyCRWpgvHZOzLPK84yj1S3G/5ZzXHWbv3BRfXTL1/x/P3n5sPl7gKMobYFB2wMSjenLni hyeTQPQP682PWK4a136e/m4D++Ev3Es/3/M/qnJM9NWtWwHxwZvOn35xV+Qwv7fyc/ZXLLM4 fv9JVmIpzkg01GIuKk4EAFSlXuUjAgAA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2014 14:46:38 -0000 El 22/07/2014 11:03 a.m., Luciano Mannucci escribió: > > Still in the process of migrating all my Linux servers to FreeBSD, I'm > now trying to move out a couple of thousands users created in a twenty > years timespan from a linux server. > Of course I need to keep uid and gid, though the juicy part is... > the passwords! I have them only in encrypted form and in different > algorythms (DES, Blowfish, ...) and the happily coexist. Con they > be used as they are in Freebsd? > > Thanks a lot again, > > luciano. > I think that if you respect the fields order and values for master.password, the hash will work fine. See "man 5 master.password", and if you need to add another algorithm see "man 3 crytp" to understand in witch algorithm you have hashed the old passwords (for example, if the hash begins with $1$ is in MD5) Saludos, Juan.