Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2002 19:28:48 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        John Barton <jbarton@technicalworks.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Problems patching 4.6
Message-ID:  <20020703182848.GB60362@happy-idiot-talk.infracaninophi>
In-Reply-To: <Pine.LNX.4.33.0207030953340.25185-100000@damocles.highridgefire.com>
References:  <Pine.LNX.4.33.0207030953340.25185-100000@damocles.highridgefire.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 03, 2002 at 10:11:32AM -0500, John Barton wrote:

> I seems to me that the password encryption scheme may have been
> changed. If I change user account passwd from the command line as
> root, I can now login, but I notice that my encrypted passwd in
> /etc/master.passwd went from the standard 12 characters to almost 35
> characters. This password file is on a radius server and is actually
> copied over from another machine, and this setup has always worked
> in the past.

Correct.  You need to edit the file /etc/login.conf and change the
line that says:

        :passwd_format=md5:\

to read

        :passwd_format=des:\

then run `cap_mkdb /etc/login.conf'

(If there isn't a passwd_format line just insert it right after where it says

default:\

)

This will cause your machine to default to using the old-style DES
password hash.  md5 is preferable, being more secure, but DES is more
compatible with other systems.

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
Tel: +44 1628 476614                                  Marlow
Fax: +44 0870 0522645                                 Bucks., SL7 1TH UK

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?20020703182848.GB60362>