From owner-freebsd-questions Sun Mar 4 23: 3:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by hub.freebsd.org (Postfix) with ESMTP id 2E13237B71B for ; Sun, 4 Mar 2001 23:03:39 -0800 (PST) (envelope-from ryan@sasknow.com) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.9.3/8.9.3) with ESMTP id BAA50244; Mon, 5 Mar 2001 01:03:35 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Mon, 5 Mar 2001 01:03:35 -0600 (CST) From: Ryan Thompson To: Bob Martin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Bad password file after upgrade crash In-Reply-To: <3AA18E5C.797E4CA3@buckhorn.net> Message-ID: Organization: SaskNow Technologies [www.sasknow.com] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bob Martin wrote to freebsd-isp@FreeBSD.ORG: > While doing a binary upgrade from 3.3-Stable to 4.2-Release, we > crashed (broken pipe) We restored the system from tape, but now it > doesn't recognize any passwords. > > We've tried blowing away the db files and running pwd_mkdb, to no avail. Did pwd_mkdb exit with success, and you're still getting the same symptoms with passwords? Or did it actually fail to run in some way? Pass /etc/spwd.db through hexdump(1) and see what you get. > Any suggestions would be more than welcome. Hi Bob, Just a few unresearched thoughts out of the blue.. Check your installed encryption method (MD5/DES)... Was it (or the symlink in /usr/lib) restored properly? Does /etc/master.passwd actually contain valid crypted passwords, or are they shadow passwords (*)? How are you actually checking the passwords? login(1) won't tell you whether the password was invalid, or whether the login was invalid. Are you running kerberos, radius, etc? fwiw, this isn't ISP-specific, so it may be a question better directed to -questions. A higher volume of experienced people can help you there. That is where I have sent this reply. > > Bob Martin > -- Ryan Thompson Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message