Advanced

Haven't read the post but...

Story: Valentine's Day Call to ActionTotal Replies: 8
Author Content
techiem2

Feb 14, 2010
7:17 PM EST
From the teaser:
Quoting:The very same heroes that restore a backup after we drag and dropped the /bin directory into the trashcan?


?????? I certainly hope no organization is running a distro setup on their desktops that lets the users delete system files......

gus3

Feb 14, 2010
7:38 PM EST
Windows did for a long time.

My ex dished out a harsh lesson in reality to someone who went into a MUD looking for free Windows tech support. She got 2,000 experience points from the MUD senior admin for it, too.

TANSTAAFL, mister.
ComputerBob

Feb 14, 2010
7:41 PM EST
The writer must work for one of the thousands of organizations that run Puppy Linux. ;)

(For anyone who doesn't already know, Puppy Linux users always run as root).
KernelShepard

Feb 14, 2010
7:52 PM EST
techiem2: It's just Miguel's sense of humor - obviously that's not a likely scenario on *nix (at least not if the admin is competent).
hkwint

Feb 15, 2010
4:39 AM EST
Once I accidentaly deleted /bin/mkdir. Which is kind of fun, because the system still keeps working - but whenever you try to install 'binutils' again it fails (on Gentoo) because it cannot create a build directory to compile and prepare stuff. It would have been great if I had some sort of backup, but obviously I didn't.
gus3

Feb 15, 2010
11:31 AM EST
@hans:

cd /tmp lynx

and then download the binutils source code, untar it, find the mkdir source, and build it manually with "gcc".

cp mkdir /usr/local/bin/

then reinstall it in Gentoo, confirm it's working, and

rm /usr/local/bin/mkdir

And I haven't used Gentoo in, what, four years?
techiem2

Feb 15, 2010
11:37 AM EST
I had a friend accidentally nuke /etc on one of his servers once... Fortunately he realized it before rebooting and had a backup or another server to copy stuff from.
penguinist

Feb 15, 2010
2:10 PM EST
Speaking of keeping backup history, I've started using etckeeper (git for /etc) and am loving it. I keep backups too, of course, but it's pretty handy to be able to see the history of all your changes to your config files. etckeeper stays out of your way by running an automatic commit each night. Of course you can also do your own explicit commits if you want. If you need to browse changes, you can use "tig" (think of it like a mutt for git).

yum install etckeeper apt-get install etckeeper

jezuch

Feb 16, 2010
4:12 AM EST
Quoting:it's pretty handy to be able to see the history of all your changes


And at first it might be surprising how much can change upon a simple upgrade!

Yeah, I'm loving etckeeper too :)

Post a reply to this thread:

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post