Subject: Re: Lost password
To: Rick GC <rickgc@calweb.com>
From: Jim Reid <jim@mpn.cp.philips.com>
List: netbsd-help
Date: 04/18/1997 11:10:31
>>>>> "Rick" == Rick GC <rickgc@calweb.com> writes:
Rick> I recently purchased an old Maxtor 330 meg harddrive. When
Rick> I connected it up SunOs 4.1.1 came up, however I cannot get
Rick> into it because I do not have the password. It seems like
Rick> someone once told me that it was possible to change the
Rick> password by using the boot tape, has anyone ever heard of
Rick> this? I know this question is a little off the Netbsd
Rick> subject but I can't think of anyother forum to put it up to.
You might be able to get in as root by booting in single user mode -
b sd(0,0,0)vmunix -s
or something like that does the job IIRC. If that doesn't work, try
interrupting the fsck at boot time. In SunOS, this should drop you
into a single-user root shell on the console.
If these don't work, you'd have to boot from something else - across
the net or from a distribution tape/CD - mount the disk and then
blooter the root password file entry.