Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2001 17:37:05 -0800
From:      "David Schultz" <vvortex1@home.com>
To:        <questions@freebsd.org>
Subject:   Re: Problem with DES/MD5
Message-ID:  <001d01c08cb8$a6177480$0100a8c0@mshome.net>
References:  <000d01c08c23$ecc5bda0$1401a8c0@tedm.placo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Ted Mittelstaedt" <tedm@toybox.placo.com>
> Uh, Chris, have you tried
>
> man  login.conf
>
> On the 4.2 system?  Here's the snippit:
>      passwd_format     string    md5       The encryption format that new
or
>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>                                            changed passwords will use.

I note that this does not always work, even with libdescrypt installed. If
the format is changed in login.conf and a user uses passwd to change a
password, the format remains what it was before. It may be necessary to
remove the password manually with vipw and then change it as root. If you
want DES, leave $1$ at the beginning of the password in vipw; otherwise,
leave it blank or with garbage. (Just make sure you change it.) FYI,
libdescrypt handles both formats.



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?001d01c08cb8$a6177480$0100a8c0>