From owner-freebsd-questions Sun Feb 7 15:21:50 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA03153 for freebsd-questions-outgoing; Sun, 7 Feb 1999 15:21:50 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hawaii.conterra.com (hawaii.conterra.com [209.12.164.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA03148 for ; Sun, 7 Feb 1999 15:21:46 -0800 (PST) (envelope-from myself@conterra.com) Received: from dmaddox.conterra.com (dmaddox.conterra.com [209.12.169.48]) by hawaii.conterra.com (8.8.8/8.8.7) with ESMTP id SAA13287; Sun, 7 Feb 1999 18:21:34 -0500 (EST) Received: (from myself@localhost) by dmaddox.conterra.com (8.9.2/8.9.1) id SAA00793; Sun, 7 Feb 1999 18:21:34 -0500 (EST) (envelope-from myself) Date: Sun, 7 Feb 1999 18:21:34 -0500 From: "Donald J . Maddox" To: Laurence Berland Cc: root@isis.dynip.com, rivers@dignus.com, freebsd-questions@FreeBSD.ORG Subject: Re: Fw: HELP!!!! Message-ID: <19990207182133.A761@dmaddox.conterra.com> Reply-To: dmaddox@conterra.com References: <199902071823.VAA63096@isis.dynip.com> <36BE0A83.4D82D496@confusion.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <36BE0A83.4D82D496@confusion.net>; from Laurence Berland on Sun, Feb 07, 1999 at 04:49:56PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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