I recently changed my username, and I can't seem to access my crontab now:
% crontab -e crontab: no crontab for blackl - using an empty one
I thought I'd just edit the one I had under my old username, copypaste the jobs to the new one, and then use
crontab -r to remove the old one.
% sudo crontab -eu olduser crontab: user `olduser' unknown
I dug around a bit and found where the crontabs are stored (
/usr/lib/cron/tabs) and copied my old one out of there. The first line, though, is this:
# DO NOT EDIT THIS FILE - edit the master and reinstall.
It seems to me that for whatever reason, manually removing the old crontab with something like
sudo rm /usr/lib/cron/tabs/olduser would be a bad idea. What is the correct way to do this?