Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 1999 19:06:44 -0700 (PDT)
From:      jobaldwi@vt.edu
To:        freebsd-gnats-submit@freebsd.org
Subject:   docs/12253: [PATCH] New FAQ Entry re: "Help! I forgot my root password."
Message-ID:  <19990617020644.179DA14C2B@hub.freebsd.org>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 16 19:10:02 PDT 1999
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


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




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