Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 1999 18:19:28 -0500 (CDT)
From:      Igor Roshchin <igor@physics.uiuc.edu>
To:        ninot@everex.com (Nino Tungul)
Cc:        igor@alecto.physics.uiuc.edu (Igor Roshchin)
Subject:   Re: Password
Message-ID:  <199905122319.SAA05587@alecto.physics.uiuc.edu>
In-Reply-To: <4.1.19990512160920.00a5fce0@mail.everex.com> from "Nino Tungul" at "May 12, 1999  4:12:38 pm"

next in thread | previous in thread | raw e-mail | index | archive | help

Hi,

A few ideas:

1. If you haven't set the password to be used in a single-user mode 
(i.e. if you didn't set "insecure" for the console in /etc/ttys)-
boot the computer into single-user mode (-s at the boot time )

mount the root partition (otherwise it is read-only)

then the "FINAL" step below.

2. Boot from a floppy (e.g. install floppy, or may be fixit.flp),
start a hologram shell. I think it should let you mount
the root partition .
then "FINAL" step below.

3. Install a minimum set of FreeBSD on a spare disc (binaries only),
boot from it, and then mount the root partition of the "Main" installation.


FINAL: edit /etc/master.passwd file, removing the password field from it
for the root.

Don't forget to run pwd-mkdb(8)  after editing the /etc/master.passwd file.
pwd-mkdb /path-to-mounted-partition/etc/master.passwd


Hope that helps.


Igor

> Can somebody please help me. I forgot the super user password. how can i 
> possibly change it? dont want to reinstall again.
> 
> thanks.
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
> 




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905122319.SAA05587>