Skip site navigation (1)Skip section navigation (2)
Date:      26 Jul 1999 11:00:33 +0200
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        "Andrew Johns" <A_Johns@TurnAround.com.au>
Cc:        "Estee Goh" <estee@cybersource.com.sg>, <FreeBSD-security@FreeBSD.ORG>
Subject:   Re: Help, it ois urgent
Message-ID:  <xzp4sirbxam.fsf@flood.ping.uio.no>
In-Reply-To: "Andrew Johns"'s message of "Mon, 26 Jul 1999 15:03:44 %2B1000"
References:  <003001bed724$3c44d110$4001a8c0@tasajohns.turnaround.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
"Andrew Johns" <A_Johns@TurnAround.com.au> writes:
> Reboot to single user (boot -s for 3.0+, -s for < 3.0).  You will
> probably have to do this with the reset button if it won't let you in,
> unless you already have one terminal logged in.

Ctrl-Alt-Del should still work.

> 'fsck' to fix your hard reboot

'fsck -p'

> 'reboot' to reboot with clean disks.
> Go to single user mode (-s) again.

No need.

> 'mount -u /' to mount / read/write.
> 'mount -a' to mount remaining partitions.

No, 'mount -at nonfs' should take care of both. 'mount -a' might fail
if you have NFS or vinum file systems listed in /etc/fstab.

> 'vi login.access' and fix.

vi will probably complain if you don't set the TERM variable first
('setenv TERM cons25' i csh, 'export TERM=cons25' in Bourne shell)

DES
-- 
Dag-Erling Smorgrav - des@flood.ping.uio.no


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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