Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2003 15:23:25 -0400
From:      taxman <taxman@acd.net>
To:        dick hoogendijk <dick@nagual.st>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: How to Reset a Forgotten Root Password
Message-ID:  <200304171523.25990.taxman@acd.net>
In-Reply-To: <20030417173629.GA14786@lothlorien.nagual.st>
References:  <20030416225147.E13034-100000@floyd.gnulife.org> <20030417125717.GB50751@kurdistan.ath.cx> <20030417173629.GA14786@lothlorien.nagual.st>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 17 April 2003 01:36 pm, dick hoogendijk wrote:
> >   then you should be able to boot up into single user mode
> >   with "boot -s" and change the password.
> >
> >   You'll need to type "boot -s" at the secondary boot prompt
> >   (asks to press "any key" for another command ;)
>
> In linux lilo.conf you could prevent this by putting a password on this
> bot option to "root" It sure is nice to have the option, but I feel a
> little insecure letting this door wide opten for everyone w/ access to
> the machine. Q: can this be protected?

well you can make it harder by marking console insecure in /etc/ttys, but if 
someone has physical access they can change the root password with a boot 
floppy etc.  You could remove your floppy/cdrom, but someone can reinstall 
them, you can password protect your bios, but someone can remove the battery 
and reset it, you could get more severe, but assume that if someone can get 
physical access they can get root.

Of course, make sure to align the effort with the importance of what you're 
protecting.

Tim




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