NerdHappens.com

A soapbox for musings, code, and other technical nonsense

The Danger of crontab
10/28/2009 at 8:31 a.m. (9 months ago)

I only recently discovered why it is so dangerous to make crontab -e and crontab -r do such different things and yet be so close together on the US keyboard layout. The first command allows you to edit your cronjobs in your favorite editor, while the second one erases your list of jobs without hesitation.

To prevent this problem, I recommend two things. First, regularly back up your /var/spool/cron/[username] file, which is where this data lives. Second, alias crontab -r to crontab -ri, which prompts to make sure you actually want to do that.

Tags: Linux, Morons
Non-hackish way to chroot ssh users
8/27/2009 at 4:49 a.m. (11 months, 1 week ago)

If you're thinking about patching your ssh server or doing something else elaborate or retarded based on Google's suggestions, see this first. You can do this as of 4.9p1 without resorting to crazy tricks. http://blogs.techrepublic.com.com/opensource/?p=229

Tags: Hooray Beer, Ubuntu, Linux, FileZilla
Stop putting 2u servers into the colo!
8/27/2009 at 4:36 a.m. (11 months, 1 week ago)

Most of you will know who this is directed towards. It has recently come to my attention that certain individuals have been placing 2u servers into the shared colo while only paying for 1u service. This is a big problem. I went down there this weekend with Alex and saw there were only three slots left in the whole cabinet. Needless to say, it was a big pain in the neck to get my server out and the new one in.

I understand that you're able to get 2u at a deep discount. But in the process, you're ruining it for everyone else. Please consider going to one of the many fine used hardware vendors here in Atlanta ...

Tags: Evariste, Morons