*BSD News Article 52502


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!kettle.magna.com.au!metro!news.cs.su.oz.au!harbinger.cc.monash.edu.au!msunews!caen!spool.mu.edu!howland.reston.ans.net!agate!news.mindlink.net!van-bc!uniserve1!usenet
From: tom@uniserve.com (Tom Samplonius)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Bad crypt?
Date: 6 Oct 1995 05:32:48 GMT
Organization: UNIServe Online
Lines: 25
Message-ID: <452f20$627@enigma.uniserve.com>
References: <kchan-0110951556250001@adagio.kcc.hawaii.edu> <44sahi$q0@maui.cc.odu.edu>
NNTP-Posting-Host: pc.sdf.com
Mime-Version: 1.0
X-Newsreader: WinVN 0.99.2

In article <44sahi$q0@maui.cc.odu.edu>, sturgesj@bosco.cc.odu.edu says...
>
>In article <kchan-0110951556250001@adagio.kcc.hawaii.edu>,
>   kchan@leahi.kcc.hawaii.edu (Kenwrick Chan) wrote:
>>Folks,
>>I'm trying to compile MOO-1.7.8p4 and I finally got it to compile.  It
>>seems to work fine, but I the password function does not seem to work
>>correctly.  I can set a password fine, but it's useless cause it doesn't
>>recognize it once I set it.  I had to use "LIBRARIES = -lm -lcrypt" to
>>compile.
>
>Once you got crypt, won't you have to recompile your system (or at least the 
>parts that use crypt) so that they're all using the same library?
>Cuz I think if you did a binary install and don't rebuild anything that you'll 
>have this problem.

  No, you don't need to re-compile your system.  All the system binaries are linked 
against the shared version of the crypt lib, and will happily use the MD5 (stock), or DES 
version (securedist).

  There are some subtle compatibility problems with the MD5 crypt.  The encrypted 
passwords are bit a longer, so some apps accidently truncate them.

Tom