From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 09:09:11 2004 Return-Path: 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 3A16516A4CE for ; Sat, 27 Nov 2004 09:09:11 +0000 (GMT) Received: from mail.int.xm.co.za (email.xm.co.za [196.23.175.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C81A43D2D for ; Sat, 27 Nov 2004 09:09:07 +0000 (GMT) (envelope-from al@xms.co.za) Received: from [192.168.1.193] (helo=[192.168.1.193]) by mail.int.xm.co.za with esmtp (Exim 4.41) id 1CXKaT-0007y2-1g for freebsd-questions@freebsd.org; Thu, 25 Nov 2004 16:27:09 +0200 From: Andrew Lewis To: freebsd-questions@freebsd.org Content-Type: text/plain Organization: XM Solutions Message-Id: <1101392541.29769.409.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 25 Nov 2004 16:22:22 +0200 Content-Transfer-Encoding: 7bit Subject: Breaking password on FreeBSD 5.2.1 box X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Nov 2004 09:09:11 -0000 Hi list, We have a client running a fBSD 5.2.1 box that needed its root password hacked. I couldn't boot into single user mode w/o the root password, so I installed fBSD 5.3 on another machine, and slaved the drive from the 5.2.1 box in mine. Then I tried editting its master.passwd file and removing the root password: didn't work. So then I tried setting it to the hash of a password I knew: didn't work. So then I editted /etc/ttys and set 'secure', booted up in single user mode, ran 'passwd' and it came back with some failure in pam_chauthtok - I forget the exact message, but it wasn't any more specific than what I've described. What to do now? Did I do something very wrong? :( Please CC your response to me (non-subscriber)... Thanks... Best, -AL.