From nobody@FreeBSD.ORG Wed Jun 16 19:06:44 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 179DA14C2B; Wed, 16 Jun 1999 19:06:44 -0700 (PDT)
Message-Id: <19990617020644.179DA14C2B@hub.freebsd.org>
Date: Wed, 16 Jun 1999 19:06:44 -0700 (PDT)
From: jobaldwi@vt.edu
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: [PATCH] New FAQ Entry re: "Help! I forgot my root password."
X-Send-Pr-Version: www-1.0

>Number:         12253
>Category:       docs
>Synopsis:       [PATCH] New FAQ Entry re: "Help! I forgot my root password."
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 16 19:10:02 PDT 1999
>Closed-Date:    Fri Jun 18 11:18:08 PDT 1999
>Last-Modified:  Fri Jun 18 11:19:53 PDT 1999
>Originator:     John Baldwin
>Release:        3.2-STABLE
>Organization:
>Environment:
n/a
>Description:
It's not exactly a patch in that it isn't diff output, but a new FAQ
entry follows below.  I'm not quite sure which section it should go in
(Troubleshooting or Admin, maybe?).  Also, I'm not very familiar with
LinuxDoc, but the formatting should be close.
>How-To-Repeat:
Forget your root password.  Then consult the FAQ.
>Fix:
    <sect1>
      <heading>Help, I forgot my root password!</heading>

      <p>If you have physical access to the machine, reboot it. At the
      ``<tt/Boot:/'' prompt, enter ``<tt/-s/'' to boot in single user mode.

      <p>After the system boots, it will ask for the pathname of a shell.
      Just hit <tt/Enter/ for /bin/sh.  At the shell prompt, run the
      following commands:

      <verb>
        fsck -p
        mount -u /
        mount -a -t ufs
      </verb>

      <p>These will check the disks and mount the root partion read/write so
      that you can write to it.

      <p>You can now run ``<tt/passwd/'' to change the root password.
      Finally, run ``<tt/shutdown -r now/'' to reboot as usual.

      <p>This answer was originally from
      <url url="mailto:mph@pobox.com" name="Matthew Hunt">.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jesusr 
State-Changed-When: Fri Jun 18 11:18:08 PDT 1999 
State-Changed-Why:  
This entry already exists on the FAQ: 
System Administration (8.20) 
>Unformatted:
