Re: Crontab v. Applescript & Command Line
Re: Crontab v. Applescript & Command Line
- Subject: Re: Crontab v. Applescript & Command Line
- From: Christopher Nebel <email@hidden>
- Date: Thu, 15 Nov 2001 10:38:14 -0800
On Wednesday, November 14, 2001, at 07:37 PM, Neal A. Crocker wrote:
Could a task started by cron use the su command to change its ownership
from root to some other user or start a process that would be owned by
some other user? If this works, it would amount to a 5th option for
Gary, wouldn't it?
I don't think so, but it might be worth trying anyway. su (and the
underlying setuid function) change the user id of the process, but I
doubt that affects the process group. I'm not enough of a Unix geek to
know for sure.
--Chris Nebel
AppleScript Engineering