From owner-freebsd-questions@FreeBSD.ORG Tue Jul 8 16:18:05 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5AC437B401 for ; Tue, 8 Jul 2003 16:18:05 -0700 (PDT) Received: from franky.speednet.com.au (franky.speednet.com.au [203.57.65.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E145143F85 for ; Tue, 8 Jul 2003 16:18:04 -0700 (PDT) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [203.38.96.242])h68NEBsw038999; Wed, 9 Jul 2003 09:17:56 +1000 (EST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [203.38.96.242])h68N9c2b011483; Wed, 9 Jul 2003 09:09:38 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Wed, 9 Jul 2003 09:09:38 +1000 (EST) From: Andy Farkas X-X-Sender: andyf@hewey.af.speednet.com.au To: David Bear In-Reply-To: <20030708151452.D4239@asu.edu> Message-ID: <20030709090602.G11189-100000@hewey.af.speednet.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: fscking remotely X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 23:18:06 -0000 On Tue, 8 Jul 2003, David Bear wrote: > I'm thinking that dropping to single user mode will kill are running > daemons include sshd? is that true? Yes, everything dies in singleuser mode. > I have a nearly headless server > in another building and would like to ssh into it and > > init 1 > fsck / > > then init 3 > > but, I'm thinking single user mode will lock remote access out... > > any recommendations? If you drop to single user mode, maybe someone can type 'sshd' on the console for you? Otherwise, try putting the fsck command in the /etc/rc script somewhere before it starts mounting disks, and reboot. -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/