Craig Hoyt schrieb dereinst (am 18.12.2006 18:49 Uhr) via
[EMAIL PROTECTED]:

> Two of the commands the slave must handle is the System Updates and
> the cron maintenance scripts. I do this using the UNIX shell
> commands. In both cases I get a permissions failure. I know I need to
> use sudo using these commands but I also need to add the 'using
> administrator privileges' and a password embedded.

The easiest (and secure) way would be using AppleScript, I guess:

do shell script "periodic daily; periodic monthly; periodic weekly &" with
administrator privileges

tell app "System Events" to display dialog "Done." buttons {"OK"} default
button 1 with icon 1

Cheers,

Knut


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to