This is *exactly* why you never run as root unless you absolutely have to
(even then you can often get away w/ running only the current command as
root using su).

First suggestion is restoring from your daily backup. You *do* have a daily
backup don't you? :)

As far as recovery goes, assuming that the OpenBoot security level is not
set to full you should be able to quickly recover with the help of the
Solaris CD. Basically it will consist of booting off the CD, mounting the
partition that normally contains /etc (and the partion where you think it
went), and restoring it to it's proper location.

For more exact details on how to do the boot and mount, you should be able
to find some FAQ or info on one of the many Solaris sites (
http://directory.google.com/Top/Computers/Software/Operating_Systems/Unix/So
laris/ ) or your favourite Solaris book.

-----Original Message-----
From: Erika L. Walker [mailto:[EMAIL PROTECTED]]
Sent: May 26, 2001 17:02
To: CF-Talk
Subject: RE: Unix Trouble


Thanks Tony!

I'm glad I'm not the only one! <grin> Makes me feel marginally better...

Erika
-----------------------------------------------------

-----Original Message-----
From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 26, 2001 7:18 PM
To: CF-Talk
Subject: Re: Unix Trouble


Haha. That's too funny. I was running OpenWindows one time and this stupid
twitchy Sun mouse (really sensitive buttons ;p) MADE me mistakenly drag
the /etc folder into the /bin folder... My mistake was to reboot - had to
reinstall.

On another computer I did a "rm *" when I meant to do a "rm *~", lost that
one too. ;)

I know this isn't very helpful, but at least you know you're not the only
one.

> OK. now don't make fun of me, yet! :)
>
> However.......My question is: I accidentally lost the etc folder (don't
ask)
> while poking around inside the files of a Sun Solaris 8 box. I thought it
> had just dumped itself into another folder, and while in the process of
> looking for the etc folder, the system crashed. Of course it wouldn't come
> back up on reboot...what do I do next? I know it wasn't deleted...it's
still
> there on the drive somewhere...can I boot the machine up from an external
> source such as a cdrom or a floppy?
>
> Thanks in advance,
>
>
> Erika
> (with a duncecap)
>
> "One of the greatest pains to human nature is the pain of a new idea." -
> Walter Bagehot
> -----------------------------------------------------
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to