How to Create a Cron Job to SCP events.data files to a Server Folder
Hi,
I am still a relative novice so please bear with me, and if anyone has any suggestions for me I greatly appreciate it! I manage a small network of about 30 macintosh computers with about 50 users using os x 10.6 server as an od master. About 2 thirds of my users are "network accounts" with the remaining users on local machine accounts. The local users also have a network login that they use for authenticating to our filemaker programs and for access to shared network folders. Recently I have started to manage the client computer preferences via the workgroup admin app. I have recently enabled time limits on certain groups, added a "managers" group as local admins (using dsedit) on some managed computers to allow for the extension of these time limits by authorized managers. I also enabled content filtering and web logging on a group of managed computers.(side note: I noticed that if a local account has parental controls activated then the machine preferences are ignored and the local settings are used so I have disabled the local parental controls) I followed the instructions in this article http://support.apple.com/kb/HT4672?viewlocale=en_US http:// to enable the web-logging on the client computers. What I would like is to create a cron job to run a script that will copy (scp?) the events.data file to my server or even my local workstation. I encountered permission issues with trying to access the events.data files stored on the local client machines. I chown on the "users" folder in /library/application support/apple/parentalcontrols/ to my network account so that I could view the files, however I am not sure that this was the correct way to view the files or not.
I have reviewed several articles about creating a rsa key for this and copying the public key to the remote machines. I am unclear where exactly to copy the .pub key and how to scp the events.data file using that publickey to either a folder on the server or to my own work station… Any insight would be greatly appreciated…
Mac Pro, Mac OS X (10.6.8), OSX Server 10.6.8