From owner-freebsd-questions Sun Feb 20 13:28:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 4975637C02C for ; Sun, 20 Feb 2000 13:28:45 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id QAA36944; Sun, 20 Feb 2000 16:30:32 -0500 (EST) (envelope-from cjc) Date: Sun, 20 Feb 2000 16:30:31 -0500 From: "Crist J. Clark" To: kc5vdj@swbell.net Cc: Steve Hovey , ohahx@hotmail.com, freebsd-questions@FreeBSD.ORG Subject: Re: I forgot the root password Message-ID: <20000220163031.E36373@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: <200002201706.LAA68999@ppp-207-193-187-122.kscymo.swbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200002201706.LAA68999@ppp-207-193-187-122.kscymo.swbell.net>; from jbryant@ppp-207-193-187-122.kscymo.swbell.net on Sun, Feb 20, 2000 at 11:06:27AM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Feb 20, 2000 at 11:06:27AM -0600, Jim Bryant wrote: > In reply: > > boot it standalone (when it boots up and stops with a prompt - instead of > > hitting enter - type -s and then enter) > > > > mount your drives in standalone > > > > (mount -a) > > > > you are then root in standalone with your drives mounted - so you can set > > a new password for yourself > > > > (just type passwd) > > > > On Sun, 20 Feb 2000, Stefan Boy wrote: > > > > > Hi > > > > > > Iam using FreeBSD 3.2 > > > > > > And I have lost the paper where i writed the root password. > > > > > > I only got two users on the system, thats me, and my girlfriend. > > > > > > All the passwords was on the piece of paper I lost :\ > > > > > > How can I change the root password ? > > > > > > I dont got the boot disk. > > well, this all assumes that the guy bothered to change his console in > /etc/ttys to "secure". keep in mind, he WROTE HIS PASSWORDS DOWN, > meaning that he is probably extremely new to computing, and as such, I > have my doubts that he will be able to boot to a shell prompt in > single-user mode. As I recall, the default is to ask for root's > password upon booting single-user, unless /etc/ttys is explicitly > changed. All ttyv's are marked "secure" in the default /etc/ttys. I do not recall this ever not being the default. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message