Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2008 22:25:28 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Root boot/mount Password?
Message-ID:  <20080726202528.GB19534@slackbox.xs4all.nl>
In-Reply-To: <20080726215853.166d6840.freebsd@edvax.de>
References:  <3176.84.18.27.248.1217093483.squirrel@mail.dsa.es> <20080726215853.166d6840.freebsd@edvax.de>

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

[-- Attachment #1 --]
On Sat, Jul 26, 2008 at 09:58:53PM +0200, Polytropon wrote:
> > What I want is that if the system is rebooted or shutdown, somebody must
> > enter a password to boot and/or mounting "/"
> 
> Next to the usual means of access control (no automated login, no
> users without password), there would be an option to boot the system
> in single user mode first. Your /etc/ttys would contain "insecure"
> in the 5th field so nobody would get into the shell without the
> root password. Then, fsck and mount -a, followed by "exit" or Ctrl-D
> would be neccessary to boot the system into multi user mode. To
> boot your system into SUM, I think /boot/loader.conf must contain
> the line ,,boot_single="YES"''.

Assuming physical access to the machine, this can be easily circumvented
by booting from a FreeBSD CD. 

Of yourse you can disable booting from CD in the BIOS, and guard that
with a password. But that is usually easy to wipe by shorting a jumper
on the motherboard. It just depends on the amount of time and knowledge
that the attacker has.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkiLiDgACgkQEnfvsMMhpyVeNQCfYSVSNJqunnoMWzgqhhCN7UJc
wgEAn2VY/6zBhLYFl52zy9zUXZWkFeov
=iN30
-----END PGP SIGNATURE-----

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