The issue I currently have is someone has created a crontab process to run on a RHEL 5 box, yet has not left me any privileged user information. How can I execute this cron job that was setup to run as user foo when I do not have root access? Also of note this is a non-standard cron job insofar as it is run at arbitrary times.

Also where does this job get placed? I have read that I should not attempt to modify anything that resides within /var/spool , which is fine since as I have stated I have no root access.

  • crontab -e, didnt ya know? – poige Feb 27 '13 at 15:14
  • @poige no no I didn't know :( – Woot4Moo Feb 27 '13 at 15:15
  • Well, you should had tried man cron which in its "see also" mentions man crontab which in its turn answers all your question in depth. – poige Feb 27 '13 at 15:17
  • 1
    @poige To be fair the man pages are ghastly and other searches on google netted very little information. I asked this question to help future users that may have the same scenario (not everyone uses *nix on a daily basis) – Woot4Moo Feb 27 '13 at 15:19
  • 2
    IMO, there's no reason/needs to copy manual pages, that's not a way to go anywhere except entropy increase. The first advice I was given when started my *NIX experience was "man pages rule, man". They still do, man. – poige Feb 27 '13 at 15:23

Invoking crontab -e when logged in as the specific user will open up that user's crontab file. Edits can be made from that point forward.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.