Date: Sat, 26 Jul 2008 21:58:53 +0200 From: Polytropon <freebsd@edvax.de> To: freebsd-questions@freebsd.org Subject: Re: Root boot/mount Password? Message-ID: <20080726215853.166d6840.freebsd@edvax.de> In-Reply-To: <3176.84.18.27.248.1217093483.squirrel@mail.dsa.es> References: <3176.84.18.27.248.1217093483.squirrel@mail.dsa.es>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! Allthough you already got good answers, I'd like to add the following: On Sat, 26 Jul 2008 17:31:23 -0000 (GMT), "DSA - JCR" <juancr@dsa.es> wrote: > Hi all > > FreeBSD 6.2 > > I would like to put a password when booting/mounting mi Freebsd box. > is it possible? How? > > 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"''. If I remember correctly, there as been a way to put a password request into a much earlier stage of booting (boot oder loader), but sadly, I can't remember where to do this or if it's still possible. Maybe these ideas are helpful. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080726215853.166d6840.freebsd>