Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2001 21:43:05 -0800
From:      "David" <davidd@datasphereweb.com>
To:        "Vlad" <tmd@tmd.df.ru>, <freebsd-questions@freebsd.org>
Subject:   RE: how to get MD5 working!?
Message-ID:  <NEBBJHHKGKPLOIEFJOINCEEDCAAA.davidd@datasphereweb.com>
In-Reply-To: <20010211193252.A10313@tmd.df.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Password hashes that start with $1$ are MD5. You might check out
http://www.mostgraveconcern.com/freebsd/libcrypt.html this is a nice
tutorial explaining how to switch between MD5 and DES.

---
|> /\ \/ @
davidd@datasphereweb.com
DataSphere - Back end web programming, site security, and networking

david.daugherty@netmanage.com
Software Engineer
NetManage - The Bridge to E-Business

http://www.wcug.wwu.edu/~doc
ICQ: 21106703

"I like the dreams of the future better than the history of the past"
                                   -Thomas Jefferson

> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Vlad
> Sent: Sunday, February 11, 2001 4:33 PM
> To: freebsd-questions@freebsd.org
> Subject: how to get MD5 working!?
>
>
> re. i have the following in /etc/login.conf:
>
> default:\
>         :passwd_format=md5:\
>
> what i am confused about is the following:
>
> root@~> ls -la /usr/lib/libcr*
> rwxr-xr-x  1 root  wheel       13 Feb  8 10:23
> /usr/lib/libcrypt.a -> libdescrypt.a
> lrwxr-xr-x  1 root  wheel       14 Feb  8 10:23
> /usr/lib/libcrypt.so -> libdescrypt.so
> lrwxr-xr-x  1 root  wheel       16 Feb  8 10:23
> /usr/lib/libcrypt.so.2 -> libdescrypt.so.2
> lrwxr-xr-x  1 root  wheel       15 Feb  8 10:23
> /usr/lib/libcrypt_p.a -> libdescrypt_p.a
> -r--r--r--  1 root  wheel  1259976 Feb  8 10:35 /usr/lib/libcrypto.a
> lrwxr-xr-x  1 root  wheel       14 Feb  8 10:35
> /usr/lib/libcrypto.so -> libcrypto.so.1
> -r--r--r--  1 root  wheel   782240 Feb  8 10:35 /usr/lib/libcrypto.so.1
> -r--r--r--  1 root  wheel  1341920 Feb  8 10:35 /usr/lib/libcrypto_p.a
>
> another confusion comes with adding a user.. if "adduser" is
> used, the following entry appears:
>
> alek:l9He1OwE0Kq1w:1000:100::0:0:alek:/home/alek:/usr/local/bin/zsh
>
> however, if i use "enteruser" then the following appears:
>
> alek1:$1$tmPXhs5D$taefv4YM1njR1z0O8dQdT.:1008:100::0:0:alek:/home/
> alek1:/usr/local/bin/zsh
>
> which one is MD5 and which one is DES. also, how do i link
> libcrypto to libmd5 (or something)?
>
> thanks for any advice.
> - --
>  tmd
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>



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?NEBBJHHKGKPLOIEFJOINCEEDCAAA.davidd>