Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2001 20:16:13 +0100
From:      Francesco Casadei <fcasadei@inwind.it>
To:        Colin Legendre <sudz@ns3g.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: adduser
Message-ID:  <20010223201613.A359@junior.kasby>
In-Reply-To: <KGEOJAKEENHJJGNECGDJCEELCDAA.sudz@ns3g.com>; from sudz@ns3g.com on Fri, Feb 23, 2001 at 10:33:05AM -0500
References:  <KGEOJAKEENHJJGNECGDJCEELCDAA.sudz@ns3g.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 23, 2001 at 10:33:05AM -0500, Colin Legendre wrote:
> I have noticed that adduser crypts the password using DES and not MD5.
> Anyway to change this.
>=20
> Colin Legendre  CCNA, MCP
> Infrastructure Management Specialist
> Q9 Networks Inc.
> sudz@ns3g.com
>=20
>=20
> end of the original message

As explained in section 8.4 of the handbook:

If you have installed the DES-capable crypt library libdescrypt (e.g. by
installing the "crypto" distribution), then which password format will be
used for new passwords is controlled by the ``passwd_format'' login
capability in /etc/login.conf, which takes values of either ``des'' or
``md5''. See the login.conf(5) manpage for more information about login
capabilities.

This don't work in a 3.x-STABLE system. You can force MD5 passwords by
putting $1$ in the second field of /etc/master.passwd (or something similar=
).

	Francesco Casadei

--=20
You can download my public key from http://digilander.iol.it/fcasadei/
or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...)

Key fingerprint is: 1671 9A23 ACB4 520A E7EE  00B0 7EC3 375F 164E B17B


--WIyZ46R2i8wDzkSu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE6lrb9fsM3XxZOsXsRAqAaAJ47emfbbGAi9U5d8iy+JCFSOMmUWwCghXBy
MJrSLjLkRfdzFdj5lK4Y3o0=
=PMWF
-----END PGP SIGNATURE-----

--WIyZ46R2i8wDzkSu--

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?20010223201613.A359>