[Bug 291048] FAQs 6.3 gives incorrect instructions for booting into single user mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 Nov 2025 02:46:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291048

--- Comment #3 from B.S. <bigsneaky@duck.com> ---
(In reply to Graham Perrin from comment #2)
I can reproduce this. Fortunately the given commands can still be typed as
normal on a UK keyboard after booting into single-user mode. While several
special (i.e. non-alphanumeric) characters like "£" and #" would be affected,
"/" and "-" are fine:

> mount -urw /
> mount -a
> passwd root
> exit

Also unaffected is ";" which appears in the suggested variant
> mount /dev/ada0p1 /mnt; chroot /mnt`

But this all results in an insidious problem - typing these commands gives no
indication of a different keymap, and passwords are not echoed, so anyone who
includes an affected special character as part of their new root password may
be mystified that it doesn't work once they return to multi-user mode, even
though they press exactly the same keys!!

Keyboards designed for other languages will pose their own challenges here but
at least in some cases the issue might be more obvious.

This behavior clearly deserves to be documented as part of the "resetting a
forgotten root password" procedure.

-- 
You are receiving this mail because:
You are the assignee for the bug.