Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Repair permissions to resolve slow system issues' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Repair permissions to resolve slow system issues
Authored by: Alrescha on May 31, '03 10:23:53AM

"You'd need to set up a shell script or AppleScript that includes a password."

That isn't always a good idea. If you have set a root password, just set up the crontab entry as root.

A.



[ Reply to This | # ]
Repair permissions to resolve slow system issues
Authored by: DanFrakes on Jun 01, '03 03:29:55PM

If you keep the script in your own user directory, it's not a problem (Anyone who can get into your user directory to access the script already has enough access that getting your password isn't going to matter much ;))

I agree that keeping it elsewhere is a security risk.


Porkchop, I realize that diskutil is a command-line program, and that AppleScript isn't "needed." But you can use AppleScript to run command-line programs, and running an AppleScript via cron is an easy way to set up a schedule like this without having to edit the root/system crontab (i.e. you can run it from a user-level crontab, which is preferred to editing the root/system crontab).

---
------------------------------------------
Mac OS X Power Tools:
http://www.macosxpowertools.com/



[ Reply to This | # ]