Bug 15760

Summary: I have received a Server, but forget root Password
Product: Base System Reporter: nasir <nasir>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description nasir 1999-12-29 07:40:01 UTC
I received one box alongwith full configuration for our ISP setup, but rightnow our director forget "root" password. FAQ crack root password is not working.

I may get "Disk1s2a:>" prompt but here only following commands  are permitable:

reboot, heap, bcachestat, boot, autoboot, help/?, shot, set, unset, more, lsdev, ls, load/unload, lsmod, pnpscan

Though I can see various directories through "ls" & files also. but unable to execute those commands.

I am using SCO Unix & Linux since many years, but FreeBSD is first experience.

I would be very thankful to you to guide me.
I may provide you plain text of root password which is lying in
master.passwd shadow file.

Awaiting propmpt reply.

Regards


(NASIR MAHMOOD)
System Manager,
Fibre Net,
Lahore - Pakistan.
E-Mail: nasir@lcci.org.pk
Comment 1 mjacob 1999-12-29 07:48:34 UTC
You haven't booted fully as you're at the boot loader prompt.
Try 'boot -s' at this prompt.

This isn't really a bug, except maybe with you or your distributor- you
should look at the documentation available at http://www.freebsd.org.
Comment 2 sprice 1999-12-29 10:10:47 UTC
On Tue, 28 Dec 1999 nasir@lcci.org.pk wrote:

# I received one box alongwith full configuration for our ISP setup, but rightnow our director forget "root" password. FAQ crack root password is not working.
# 
# I may get "Disk1s2a:>" prompt but here only following commands  are permitable:

At this prompt type 'boot -s' which will get you into single
user mode.  From there 'mount -a' to mount all the drives r/w.
You can remount just the root partition if you like, but this
will be easiest.  Then use passwd to change root's password
to whatever you want.

# reboot, heap, bcachestat, boot, autoboot, help/?, shot, set, unset, more, lsdev, ls, load/unload, lsmod, pnpscan
# 
# Though I can see various directories through "ls" & files also. but unable to execute those commands.
# 
# I am using SCO Unix & Linux since many years, but FreeBSD is first experience.
# 
# I would be very thankful to you to guide me.
# I may provide you plain text of root password which is lying in
# master.passwd shadow file.
# 
# Awaiting propmpt reply.
# 
# Regards
# 
# 
# (NASIR MAHMOOD)
# System Manager,
# Fibre Net,
# Lahore - Pakistan.
# E-Mail: nasir@lcci.org.pk
Comment 3 Steve Price freebsd_committer freebsd_triage 1999-12-29 10:12:22 UTC
State Changed
From-To: open->closed

See the audit trail for a couple of suggestions on how to get out of this bind. 
BTW, questions such as this are better asked at freebsd-questions@freebsd.org.