From owner-freebsd-questions@FreeBSD.ORG Sat Apr 16 17:09:15 2005 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 2F24D16A4CE for ; Sat, 16 Apr 2005 17:09:15 +0000 (GMT) Received: from brian.firebadger.net (82-69-4-157.dsl.in-addr.zen.co.uk [82.69.4.157]) by mx1.FreeBSD.org (Postfix) with SMTP id 161DA43D49 for ; Sat, 16 Apr 2005 17:09:12 +0000 (GMT) (envelope-from richard@firebadger.net) Received: (qmail 996 invoked from network); 16 Apr 2005 16:09:10 -0000 Received: from unknown (HELO ?192.168.1.10?) (192.168.1.10) by 192.168.1.15 with SMTP; 16 Apr 2005 16:09:10 -0000 Message-ID: <426146B0.6050008@firebadger.net> Date: Sat, 16 Apr 2005 18:09:04 +0100 From: Richard Collyer User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marty Landman References: <6.2.0.14.0.20050225125247.02e6d948@mail.face2interface.com> <20050225222750.GA59300@osiris.chen.org.nz> <6.2.0.14.0.20050226210252.01e3f710@mail.face2interface.com> <20050227043219.GA28882@osiris.chen.org.nz> <6.2.0.14.0.20050227114521.02df9eb0@mail.face2interface.com> <20050227182510.GB44504@osiris.chen.org.nz> <6.2.0.14.0.20050416124420.03a0bed0@mail.face2interface.com> In-Reply-To: <6.2.0.14.0.20050416124420.03a0bed0@mail.face2interface.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: lost root passwd 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, 16 Apr 2005 17:09:15 -0000 Marty Landman wrote: > I have a relatively new 5.2 installation and have forgotten the root pw, > although I can log on as a member of group wheel. > > Not sure how to fix this situation. > > 1. /etc/master.passwd has perm's of 0600 so afaik can't change this > except as root > > 2. rebooting from the installation CD then selecting single user mode > throws me directly into /stand/sysinstall; from there selecting the > reset root pw option is consistently ignored > > 3. rebooting into single user mode from the HD, after entering > > # mount -t ufs -a > ... > # passwd > > the response is > > passwd: pam_chauthtok(): error in service module > > > Anyway I can fix this? I suppose you havent got the password for toor? Regards, Richard