From owner-freebsd-questions@FreeBSD.ORG Fri May 26 20:45:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 10D7216B7D7 for ; Fri, 26 May 2006 20:45:42 +0000 (UTC) (envelope-from wingot@eftel.com) Received: from tara1.wa.amnet.net.au (tara1.wa.amnet.net.au [203.161.126.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22E4643D58 for ; Fri, 26 May 2006 20:45:36 +0000 (GMT) (envelope-from wingot@eftel.com) Received: (qmail 14634 invoked by uid 89); 26 May 2006 20:45:35 -0000 Received: by simscan 1.1.0 ppid: 14619, pid: 14627, t: 0.8470s scanners: attach: 1.1.0 clamav: 0.88/m:36/d:1310 spam: 3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on tara1.wa.amnet.net.au X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00 autolearn=ham version=3.1.0 Received: from unknown (HELO ?192.168.1.10?) (203.161.72.123) by tara1.wa.amnet.net.au with SMTP for ; 26 May 2006 20:45:34 -0000 X-Envelope-To: mmiranda@123.com.sv Message-ID: <4477616D.40606@eftel.com> Date: Sat, 27 May 2006 04:13:33 +0800 From: Adrian Pavone User-Agent: Thunderbird 1.5.0.2 (X11/20060525) MIME-Version: 1.0 To: Miguel References: <20060526184500.29026.qmail@web54701.mail.yahoo.com> <3ee9ca710605261240o1957520u50075f6ae2d826aa@mail.gmail.com> <4477657D.90701@123.com.sv> In-Reply-To: <4477657D.90701@123.com.sv> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Polina Mnouskina , Andy Greenwood , freebsd-questions@freebsd.org Subject: Re: Problems booting operating system and with root password X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 20:45:48 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Miguel wrote: > Andy Greenwood wrote: > >> I don't know what you mean by kernel errors on boot, but you can >> recover your root password by booting into single user mode and then >> running passwd. > > > Hi, i have a similar problem, i forgot my root password and the server > its in a remote colocation site, is there a way to recover the encrypted > password and crackit some way, i have my normal account (which is in > wheel group), i even know that the root's pass begings with > MAG_"something", but i really cant remember the complete root's pass, > rebooting in single user mode is my best bet? > > --- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > It is easiest if the system's single user mode hasn't been locked down If single user mode HAS been locked down (ie. needs the root password), then you will need a boot disc so you can chroot to your FreeBSD system from another, or so you can directly edit the /etc/passwd or /etc/shadow file. The password hash *MIGHT* also be in one of those two files, depending on your configuration. Regards, Adrian - -- This email address has expired. Please contact me for my new address. Please obtain my pgp public key from pgp.mit.edu before sending me any private mail, otherwise your email will likely be filtered incorrectly and possibly junked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEd2Fs0JHtFv5fxW8RAgfhAJ0RQ3CA3PjofAjYERytNZ2JrGdmMQCcDflK lcgQRMkKPW+wFU30WLeeyHw= =dtu/ -----END PGP SIGNATURE-----