Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2003 09:09:38 +1000 (EST)
From:      Andy Farkas <andyf@speednet.com.au>
To:        David Bear <David.Bear@asu.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: fscking remotely
Message-ID:  <20030709090602.G11189-100000@hewey.af.speednet.com.au>
In-Reply-To: <20030708151452.D4239@asu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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<enter>' 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/





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