Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2010 00:28:28 +0700
From:      Phan Quoc Hien <phanquochien@gmail.com>
To:        "K. Yura" <yy.guest@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: pass for single user mode
Message-ID:  <AANLkTi=v4Sc81d_SM1c9oYRNQwLYGyj7EMD==O2OpKS1@mail.gmail.com>
In-Reply-To: <AANLkTimtCXcQVr0mvMbrvyRzD=DKyOTodGA1QxC013wW@mail.gmail.com>
References:  <AANLkTimtCXcQVr0mvMbrvyRzD=DKyOTodGA1QxC013wW@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
To set password for single usermode in FreeBSD:
*
1.Edit /etc/ttys*

vi /etc/ttys

*
2.Change the following line *:
*From*

console        none                            unknown off secure
>

*To*

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@gmail.com> wrote:
>
> ============================================================
> FreeBSD .dlink 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC
> 2010     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
> ============================================================
> Hi. Where can I set up password for single user mode? Thanx.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
freebsd-questions-unsubscribe@freebsd.org"



--
Best regards,
Mr.Hien
E-mail: phanquochien@gmail.com
Website: www.mrhien.info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=v4Sc81d_SM1c9oYRNQwLYGyj7EMD==O2OpKS1>