From owner-freebsd-questions@FreeBSD.ORG Wed Jun 4 02:00:56 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 21D9237B401 for ; Wed, 4 Jun 2003 02:00:56 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0691C43F3F for ; Wed, 4 Jun 2003 02:00:55 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 75755 invoked from network); 4 Jun 2003 09:00:54 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 4 Jun 2003 09:00:54 -0000 Message-ID: <3EDDB547.7010608@liwing.de> Date: Wed, 04 Jun 2003 11:00:55 +0200 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 (Compact - Build 2) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Simon-Pierre Butsana References: <006201c32a76$e3990630$a86fa8c0@SPBUTSANA> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@FreeBSD.ORG Subject: Re: How can I recover the password for root in FreeBSD 4.4 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: Wed, 04 Jun 2003 09:00:56 -0000 On 6/4/2003 10:54 AM, Simon-Pierre Butsana wrote: > Hi, Hi Simon, > I changed yesterday the password for root on my server because I found it too simple. That is a good idea - even with the bad the side effects you expirience now :-) > Unfortunately I didn't write it and now I just can't remind it. I still have access > to an account belonging to the wheel group. Is there any means to recover or to set > a new password for root? I don't think this will help. Best would be to set the machine in single user mode, either by booting using 'boot -s' or using 'shutdown now'. Please don't do this if you don't have physical access to console!!!! If you're in single user mode, choose a shell you want to use. /bin/sh is a good choice. After that, simply reset your password using passwd(1). > I would appreciate any help on this. Good luck, Jens