Date: Sun, 7 Feb 1999 18:21:34 -0500 From: "Donald J . Maddox" <dmaddox@conterra.com> To: Laurence Berland <stuyman@confusion.net> Cc: root@isis.dynip.com, rivers@dignus.com, freebsd-questions@FreeBSD.ORG Subject: Re: Fw: HELP!!!! Message-ID: <19990207182133.A761@dmaddox.conterra.com> In-Reply-To: <36BE0A83.4D82D496@confusion.net>; from Laurence Berland on Sun, Feb 07, 1999 at 04:49:56PM -0500 References: <199902071823.VAA63096@isis.dynip.com> <36BE0A83.4D82D496@confusion.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Yeah. If you change the 'console' line in /etc/ttys to mark it
insecure, you will be asked for a password even in single-user
mode:
#
# $Id: ttys,v 1.2 1998/09/02 01:34:57 brian Exp $
# @(#)ttys 5.1 (Berkeley) 4/17/89
#
# name getty type status comments
#
# This entry needed for asking password when init goes to single-user mode
# If you want to be asked for password, change "secure" to "insecure" here
console none unknown off secure
^^^^^^
On Sun, Feb 07, 1999 at 04:49:56PM -0500, Laurence Berland wrote:
> Is there a way to keep people from doing this who aren't supposed to? Like if I set up a BSD box in a library and someone knows how to do that, is there a way to stop them? (Or do I just put a password on the BIOS so they can't reboot fully?)
>
> root@isis.dynip.com wrote:
>
> > On 7 Feb, Thomas David Rivers wrote:
> > >>
> > >> We are a small ISP in NW Arkansas, at one of our customers sites we have installed a FreeBSD server as their firewall, www proxy and mail server. As you can see from the attachment below we made a mistake and gave them the root password. Do you have any suggestions on recovering the root password short of re-installing the system. Any assistance will be greatly appreciated.
> > >
> > >
> > > Yes -
> > >
> > > You can boot the system in single user mode (type "-s" no quotes
> > > at the boot prompt.)
> > >
> > > From there, you can set the root password.
> > >
> > > You'll need to:
> > >
> > > mount -u /
> > > mount /usr
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990207182133.A761>
