?

Log in

No account? Create an account
entries friends calendar profile adric.net Previous Previous Next Next
Oops. - nil.enroll(aetheric_username, quantum_class_id)
yljatlhQo'! QIch lo'laltbebej!
adric
adric
Oops.
Well, the damage seems contained now. Apparently root is supposed to own 90+ percent of the directories anyway. We'll see how the weekend goes..



I think I just hosed this machine completely.

Oh well, it was almost time to blow it out and reinstall it anyway. ;)

Apparently I did this wrong somehow:

from ~root

sudo chown -R root:root *

It seemed to take awhile, but I thought it just chewing on the bayesian spam database (ie .spamassassin) I had just cp'd from another users home. So I bg'd it. It started complaining about being unable to change /proc entries a few moments later, and died. I tried to mutt (to see if spama was working) and got told I couldn't read /var/mail/adric. Uh, oh.

I su'd up. Everything (before proc) is now owned by root. I fixed the /home dirs, and my mail dir, but .. there's no way of reverting the perms changes I inadvertedly made. Hosed. Another one lost to imprudent use of wildcards when root.

Uh, techaholic? *smile* /home is okay, but the rest needs a fresh new coat of sarge ;)

Current Music: gaim chimes

3 comments or Leave a comment
Comments
ercutio From: ercutio Date: September 7th, 2003 05:04 pm (UTC) (Link)

Ooh, NASTY...

Got nailed by an errant wildcard one time myself. I was drowsy, and I su-ed to root in /usr/src/someapplication, where a bunch of directories beginning with "." had been inadvertently placed when one of the GUI file managers fucked up.

Now, another thing you need to know: this particular distro had this nasty thing about putting 'alias rm rm -f' in the standard .profile-- even for root. This was one of those custom distros, back in 1999, when there were about 2000 distros for everybody on the planet. I think (in all seriousness) that the main developers were Slovenian-- maybe that'll help me track it down.

Anyhow, how do you get rid of a bunch of directories that begin with the character "."?

By typing "rm .*", of course. Never mind those "." and ".." directories, right?

Right. Thank god for backups; I killed it just in time to save /home and parts of /usr-- nothing else.

Best of luck to you on getting everything un-fucked-up. I feel your pain, and I'm rooting for ya.
adric From: adric Date: September 7th, 2003 05:27 pm (UTC) (Link)
It appears that exim was a casualty. The good news is that I switched postfix, and it seems to be working (I got your comment after all ;).

Now to see if I can make wietse's code virtual host mail domains. Whee!
From: ptwarhol Date: September 8th, 2003 07:10 am (UTC) (Link)
email me.
-Rick
ptwarhol@yahoo.com You have 12 hours to comply
3 comments or Leave a comment