From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 14:38:35 2003 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 7DD8116A4B3 for ; Tue, 7 Oct 2003 14:38:35 -0700 (PDT) Received: from buh.cameradicommercio.ro (buh.cameradicommercio.ro [81.196.25.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E47843F93 for ; Tue, 7 Oct 2003 14:38:23 -0700 (PDT) (envelope-from itetcu@apropo.ro) Received: from buh.cameradicommercio.ro (localhost [127.0.0.1]) by buh.cameradicommercio.ro (Postfix) with SMTP id D481C55; Wed, 8 Oct 2003 00:38:04 +0300 (EEST) Date: Wed, 8 Oct 2003 00:38:04 +0300 From: Ion-Mihai Tetcu To: DanB Message-Id: <20031008003804.17363419.itetcu@apropo.ro> In-Reply-To: <3F8318CC.8D318986@chatusa.com> References: <3F8318CC.8D318986@chatusa.com> X-Mailer: Sylpheed version 0.9.3claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd Subject: Re: freebsd root password lost 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: Tue, 07 Oct 2003 21:38:35 -0000 On Tue, 07 Oct 2003 19:49:32 +0000 DanB wrote: > Is there other way to change the root password that been lost > without shutting down the computer. Take a look at: Dru's Cracking Passwords to Enhance Security http://www.onlamp.com/pub/a/bsd/2001/01/24/FreeBSD_Basics.html It might work. ( UNtested: /var/backups/master.passwd.bak should contain the old passwords and, with pwd_mkdb master.passwd.bak should regenerate the old password databases. But first backup and READ PWD_MKDB(8) ) -- IOnut FreeBSD unregistered ;) user