Tim Wunder <mailto:[EMAIL PROTECTED]> typed thusly on Wednesday, February
19, 2003 7:31 AM:

> On 2/19/2003 9:24 AM, someone claiming to be Net Llama!
> wrote: 
> The cron job belongs to my user, based on the fact that
> executing 'crontab -e' as my user lists the job, and the
> log file that's created is owned by me.
> 
> I imagine I *could* run the job as root (heck, I could do
> *everything* as root, couldn't I?). If I run the job as
> root, then my source tree would become owned by root, so
> I'd either have to change ownership back to me when I
> want to manually update, or always update as root. Seems
> contrary to the genreally accepted practice of running as
> root as little as possible, though. And it doesn't
> address the question of why sudo doesn't seem to work
> when part of a cron job, but works swimmingly when run
> from the same script manually.  

Couldn't you run the script that works so well as a cron job?


In Harmony's Way, and In A Chord,

Tom  :-})

Thomas A. Condon
Barbershop Bass Singer
Registered Linux User #154358
A Jester Unemployed
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to