Sirius Stuff

Sirius Stuff header image 2

Why I hate Ubuntu sometimes - crontab not enabled

August 09, 2007 at 08:08 AM | categories: Ubuntu | View Comments

I’m trying to set up cron to run jobs for me. I have to go look up the weird syntax but OK. Found it. Everything looks fine but the jobs don’t work. Go on vacation. Come back and try again. Syntax is OK. Everything looks fine but the jobs don’t work. Dig, dig, dig. Find this Unix Crontab - setting up cron jobs using crontab

You can execute crontab if your name appears in the file /usr/lib/cron/cron.allow. If that file does not exist, you can use
crontab if your name does not appear in the file /usr/lib/cron/cron.deny.
If only cron.deny exists and is empty, all users can use crontab. If neither file exists, only the root user can use crontab.

and, of course, there isn’t an empty cron.deny in /usr/lib/cron. OK, Ubuntu uses /etc a lot and that - according to man cron - is where the cron.deny file should be.

Granted that a lot of people might never have need for cron but doesn’t it seem reasonable that there would be an empty /etc/cron.deny file so people who are using Ubuntu and aren’t power users and just want to back up their files automatically have things work?


SSH your Debian servers without password - sftp

July 01, 2007 at 07:07 AM | categories: Ubuntu | View Comments

I was looking to do an unattended backup of some important files and found this very helpful: SSH your Debian servers without password.


Feisty Performance - “Fly Like A Butterfly” Ubuntu

July 01, 2007 at 07:07 AM | categories: Ubuntu | View Comments

Haven’t implemented all of the things here but this looked promising on speeding up Ubuntu: » Blog Archive » Feisty Performance - “Fly Like A Butterfly”


HowTo Mount NTFS Filesystem Partition Read Write Access

June 27, 2007 at 06:06 AM | categories: Home Computers, Ubuntu | View Comments

Found this article on HowTo Mount NTFS Filesystem Partition Read Write Access very helpful as I continue to dig out from under the Feisty Fawn -> Gutsy Gibbon explosion … er, upgrade. The key thing here is the ability to mount the files so that they’re readable and writeable by an ordinary user. I am in the process of moving photos and music off my second NTFS-formatted drive. I may reformat it as ext3 or I may not but I want to know that I’ve got copies on my first NTFS-formatted drive (which is split with an ext3 partition) and my SimpleShare NFS NAS. Also am putting copies on a DVD to take to work. Last step is to have a USB drive capable of backing up the SimpleShare and taking that to the office. DVDs hold a lot of pictures but CDs ripped in FLAC format take a lot of space.


Local DNS Cache for Faster Browsing using dnsmasq

June 26, 2007 at 06:06 AM | categories: Ubuntu | View Comments

Looking for a way to speed up recurring DNS lookups on my Ubuntu box. I found a reference to Local DNS Cache for Faster Browsing on Ubuntu Blog. Works like a champ. I like that dnsmasq allows me to configure the size of the cache easily. I don’t like that I had to chattr +i /etc/resolv.conf to make it immutable so that the system wouldn’t drop looking at 127.0.0.1 (localhost) first. I tried using the package resolvconf but it caused all lookups to fail. So I used apt-get again to remove it and stayed with just the dnsmasq package.