changing md5 hashed for sha
Christopher J. Ruwe
cjr at cruwe.de
Mon Jun 25 18:23:11 UTC 2012
On Sun, 24 Jun 2012 18:28:38 -0400
Lowell Gilbert <freebsd-questions-local at be-well.ilk.org> wrote:
> "Christopher J. Ruwe" <cjr at cruwe.de> writes:
>
> > For setting the dafault hash used to hash /etc/master.passwd, it has
> > been recommended changing md5 for something more secure in the
> > sense of being more expensive to crack.
> >
> > The handbook describes the procedure used in
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/crypt.html.
> > Allegedly, hashes which were hashed with one of the sha-functions
> > begin with the character $6$.
> >
> > Afer having changed my /etc/login.conf accordingly and having reset
> > the passwords, the given there is not md5 anymore (I have tried
> > with md5), but does not begin with the character $6$, but, as md5,
> > with $1$, which is supposed to be md5-hashed.
>
> I'm not following. Are you saying that you are resetting the passwords
> after setting login.conf, but new passwords aren't being created with
> the new hash type?
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
Yes, you are following correctly that the hash mechanism did not appear
to have changed. It was OSI-8 error on my part, as Mike Tancsa (one
message later) helped me to understand.
Cheers,
--
Christopher J. Ruwe
TZ: GMT + 2h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120625/8717b402/signature.pgp
More information about the freebsd-questions
mailing list