[rescue] Lost Password

Joshua D. Boyd jdboyd at celestrion.celestrion.net
Fri Apr 4 08:47:15 CST 2003


On Thu, Apr 03, 2003 at 07:07:34PM -0500, Curtis H. Wilbar Jr. wrote:
> Ummm... there isn't any way to do this from the OpenBOOT ROM....

You can do anything from the OpenBOOT Rom.  You just have to know how.
To do this from OB would involve writing code to access the disc, and
then you would have to either decypher the inodes, or write forth code
to do it for you, etc.  Definately not the recommended way, but as they
say, never say never, and don't say there is no way.  Your method below
is far superior.
 
> But since it is SunOS 4.x, just interrupt the boot, and boot with
> the -s paramter (b -s).
> 
> That will boot single user... then make sure / is mounted read/write...
> if not, then mount -o remount,rw / should do the trick.  Then depending
> on if you want to use vi, etc you may need to fsck and mount /usr.
> 
> After fixing up the /etc/passwd file, sync and reboot.


More information about the rescue mailing list