You are here: Home Tech Notes Linux Ubuntu 9.04: Location of User's Crontab File
Ubuntu 9.04: Location of User's Crontab File PDF Print E-mail
User Rating: / 0
PoorBest 
Tech Notes - Linux
Written by Rick   
Thursday, 14 May 2009 07:31

The location of a user's crontab file, in Linux, varies from distribution to distribution. It can even vary in different releases of a distribution. In Ubuntu (and variants) for release 9.04 the location is;

/var/spool/cron/crontabs

The user's crontab will be titled by the user's name.

Knowing this is all well and good, but one can't just view the directory with a GUI or from CLI. The default permission settings prevent anyone but the root user from viewing the content of the above directory. We could simply change the permissions, but I believe that would open a security hole. I've worked around it by assigning a password to the root user (Ubuntu doesn't assign one during install). Then execute "su -" to switch to the root user.

Write comment
Your Contact Details:
 
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
Security Please input the anti-spam code that you can read in the image.