Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jan 2000 19:56:54 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        Nguyen Manh Tho <manhtho@yahoo.com>
Cc:        FreeBSD-questions <freeBSD-questions@FreeBSD.ORG>
Subject:   Re: Asking about new Free BSD passwd file format 
Message-ID:  <200001160156.TAA05993@nospam.hiwaay.net>
In-Reply-To: Message from Nguyen Manh Tho <manhtho@yahoo.com>  of "Sat, 15 Jan 2000 04:25:59 PST." <20000115122559.6954.qmail@web1905.mail.yahoo.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001160156.TAA05993>