From owner-freebsd-questions Sat Jan 15 18:14:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 4579E1516D for ; Sat, 15 Jan 2000 18:14:33 -0800 (PST) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt8-208-170-118-220.dialup.HiWAAY.net [208.170.118.220]) by mail.HiWAAY.net (8.9.3/8.9.0) with ESMTP id UAA31584; Sat, 15 Jan 2000 20:14:26 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by nospam.hiwaay.net (8.9.3/8.9.3) with ESMTP id TAA05993; Sat, 15 Jan 2000 19:56:54 -0600 (CST) (envelope-from dkelly@nospam.hiwaay.net) Message-Id: <200001160156.TAA05993@nospam.hiwaay.net> X-Mailer: exmh version 2.1.1 10/15/1999 To: Nguyen Manh Tho Cc: FreeBSD-questions From: David Kelly Subject: Re: Asking about new Free BSD passwd file format In-reply-to: Message from Nguyen Manh Tho of "Sat, 15 Jan 2000 04:25:59 PST." <20000115122559.6954.qmail@web1905.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 15 Jan 2000 19:56:54 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nguyen Manh Tho writes: > Dear all freebsd-questions members, > > I would like to know if there is any diferrence > beetwen Linux encrypted password and Free BSD > encrypted password ? If yes, Could I still copy the > passwd file from Linux to Free BSD and will it's till > work well ? The quickest way to find out would be to copy one entry from Linux to FreeBSD and see what happens. Under FreeBSD there are two hashing engines used, MD5 and DES. DES is not provided by default. I think a hashed (the mess you see in the 2nd field of the passwd entry) MD5 password begins with a dollar sign. A FreeBSD system with DES will take either but new passwords will be DES. DES is required for NIS to be compatible with other Unix (and Linux) systems. So I'd guess somehow Linux has DES. > Another questions is about new format password on Free > BSD. I found this text from the FreeBSD handbook: > " The password file format has changed since 4.3BSD. There is a "make upgrade" target in /usr/src/Makefile. If you upgrade by sources this might take care of the passwd format for you. I know this machine started out as 2.2.x and went thru 2.2.[5678] before making the leap to the 3.x series. Believe when I made the leap I used the upgrade option from CDROM but have used the source technique on other systems. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message