From owner-freebsd-questions Wed Jul 3 11:29: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56D5637B400 for ; Wed, 3 Jul 2002 11:28:56 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 509D043E09 for ; Wed, 3 Jul 2002 11:28:55 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.4/8.12.4) with ESMTP id g63ISrtD060629; Wed, 3 Jul 2002 19:28:53 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.4/8.12.4/Submit) id g63ISmXq060628; Wed, 3 Jul 2002 19:28:48 +0100 (BST) Date: Wed, 3 Jul 2002 19:28:48 +0100 From: Matthew Seaman To: John Barton Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Problems patching 4.6 Message-ID: <20020703182848.GB60362@happy-idiot-talk.infracaninophi> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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