pass for single user mode

Phan Quoc Hien phanquochien at
Sat Dec 11 17:48:15 UTC 2010

To set password for single usermode in FreeBSD:
1.Edit /etc/ttys*

vi /etc/ttys

2.Change the following line *:

console        none                            unknown off secure


console        none                            unknown off insecure

*3.Save and quit editor(vi)*

Reboot the box and boot into single user mode, if you wanna test it.
By the way, the keyword "insecure" imply to the console is insecure and thus
required root password to be authenticated before single user mode can be
access. It DOES NOT mean that the console is run insecurely. Take note.

On Sat, Dec 11, 2010 at 11:02 PM, K. Yura <yy.guest at> wrote:
> ============================================================
> FreeBSD .dlink 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC
> 2010     root at  i386
> ============================================================
> Hi. Where can I set up password for single user mode? Thanx.
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "
freebsd-questions-unsubscribe at"

Best regards,
E-mail: phanquochien at

More information about the freebsd-questions mailing list