[ale] Oops!!!! rm -rf /etc/*

Vaidhy Mayilrangam vaidhy at loonys.net
Tue Oct 16 23:52:06 EDT 2001


Offhand, the only thing I can think of is :

Backup all stuff, reinstall.. If you do not have space for
backup, get someone to temp. donate you some space and backit up.

If you sorta know your config, look for someone running a similar
release and copy their /etc. Make sure to change root's password to
yours in /etc/shadow. Make sure the userids are proper. 

Then you can try to rebuild.. but it is on the assumption that you
know your system config well enough or you have not changed the
default configs.

Best of luck and let me know if you need any help.

Vaidhy

On Tue, Oct 16, 2001 at 08:36:01PM -0700, Michael Golden wrote:
> I was going through my drive trying to clear up space
> and I noticed that /tmp had 50+MB filled in it through
> various directories and I didn't have anything
> important open, so I thought I'd just delete what was
> in there. Well, I accidentally typed "rm -rf /etc/*"
> instead of "rm -rf /tmp/*" I have no idea how to fix
> it and I don't dare reboot since everything in
> /etc/init.d is gone now too. I upgraded my kernel via
> RPM this session, so now none of my modules work to
> get access to the CD to try to reinstall some of the
> stuff so that I can know it will boot. Things like
> inittab, fstab, etc. are gone too. Any advice on how
> to fix it? I can't really reinstall. When I tried to
> update to Mandrake 8.1 it already told me there wasn't
> enough space to install and I have no way to back up
> my data now that my samba modules and config are gone.
> Help!!
> 
> Michael
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
> 
> 

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list