Locked myself out.

adrian adrian at gordinier.net
Tue Sep 2 04:22:16 UTC 2008

On Tue, 2008-09-02 at 03:45 +0000, adrian wrote:
Hi all this is my first question on the list.
> I had been playing with securelevels and was in level 3 then I mistakenly
> executed "chflags schg /etc/rc.*"
> It wouldn't be such a problem but it as you guessed is on a remote server
> and I could pay a local guy there to drop to single-user but I thought
> might be a good attempt at self hacking. But I am kind of a noob to
> so I have been Googleing and pouring over Absolute FreeBSD (Good book
> Thank-you Michael Lucas) looking for someway to execute a script to copy
> over my rc.conf before it loads. I figured it should be possible maybe
> though the /etc/rc file but I have had no luck with that.
> Please HELP!

Yeah, I did find a way myself. I was able to make a .sh file in
/usr/local/etc/rc.d/ that copied a new rc.conf over the old one.


More information about the freebsd-questions mailing list