Learning the Mac OS X Terminal, Part 5
Subject:   Nice!
Date:   2002-07-10 13:33:20
From:   chris_stone
Response to: Nice!

You're welcome, Thomas. Glad you liked the article.

Contrary to what the man page states, you don't need to be root to run ditto.

Also, if you need access to system files, or other files your account hasn't acces to withough sudo , you'll want to use a root crontab (not to be confused with the system crontab we looked at earlier).

To do this, first get a root shell session with sudo -s, and then follow the same steps you did to create a user crontab. When you're done, type exit to leave the root shell session.

BE CAREFUL, though....a root crontab can really make a mess of things if you've not set it up right, and it will do so at regularly scheduled intervals...;-)