Re: pass for single user mode

2010-12-12 Thread Chris Rees
On 11 December 2010 16:55, K. Yura  wrote:
> 2010/12/11 Chris Rees 
>>
>> Have a look at /etc/ttys.
>> Chris

> Thank you very much

No problem. Don't forget that although you've now made it non-trivial
to break into your computer with console access, it's still easy for a
physical attacker to:

- remove your hard drive
- boot from a USB key or CD or floppy etc
- mess with your BIOS settings.

This is why by default there's no root password for single user; if an
attacker has physical access you're screwed anyway!

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: pass for single user mode

2010-12-11 Thread Phan Quoc Hien
Hi,
To set password for single usermode in FreeBSD:
*
1.Edit /etc/ttys*

vi /etc/ttys

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

consolenoneunknown off secure
>

*To*

consolenoneunknown 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  wrote:
>
> 
> FreeBSD .dlink 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC
> 2010 r...@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-unsubscr...@freebsd.org"



--
Best regards,
Mr.Hien
E-mail: phanquoch...@gmail.com
Website: www.mrhien.info
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: pass for single user mode

2010-12-11 Thread Chris Rees
Have a look at /etc/ttys.

Chris



Sorry for top-posting, Android won't let me quote, but K-9 can't yet do
threading.
On 11 Dec 2010 16:34, "K. Yura"  wrote:
> 
> FreeBSD .dlink 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC
> 2010 r...@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-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


pass for single user mode

2010-12-11 Thread K. Yura

FreeBSD .dlink 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC
2010 r...@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-unsubscr...@freebsd.org"