Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Sep 2007 10:48:33 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        =?iso-8859-1?Q?Jo=E3o?= Carlos Mendes =?iso-8859-1?Q?Lu=EDs?= <jonny@jonny.eng.br>
Cc:        questions@freebsd.org
Subject:   Re: Dumb question about DES/MD5 in /etc/master.passwd
Message-ID:  <44zlzxnrge.fsf@Lowell-Desk.lan>
In-Reply-To: <46E0A950.8010502@jonny.eng.br> (=?iso-8859-1?Q?=22Jo=E3o?= Carlos Mendes =?iso-8859-1?Q?Lu=EDs=22's?= message of "Thu\, 06 Sep 2007 22\:28\:48 -0300")
References:  <46E0A950.8010502@jonny.eng.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Jo=E3o Carlos Mendes Lu=EDs <jonny@jonny.eng.br> writes:

>    This question must be really dumb, but I cannot find its answer.
>
>    In a somewhat recently updated RELENG_6 FreeBSD, whenever I run the
> program /usr/bin/passwd to change an users password, it encrypts the
> password using DES.  I have already configured /etc/login.conf for
> MD5, but it still goes with DES:
>
> *$ grep passwd /etc/login.conf
>        :passwd_format=3Dmd5:\
> #       :passwd_format=3Ddes:\
> $*
>
>    What could I be doing wrong?
>
>    If that matters, this system has been receiving system and /etc
> upgrades since Sep/2003.  Maybe some old configuration has been left
> around...

I'm a little too lazy to confirm if this is still the case with the
openpam libraries, but it used to be the case that the passwd_format
variable was not consulted for changing passwords on existing
accounts; the same format was always used.  passwd_format would be
obeyed if there were *no* password on the account (in particular, the
first time a password was assigned).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44zlzxnrge.fsf>