[Casper] Script's in Resource Kit
Anthony Avarca
aavarca at anl.gov
Fri Oct 9 10:24:48 PDT 2009
All,
When using the following scripts from the Resource Kit:
setTimeServer.sh
enableFileSharing.sh
enableFirewall.sh
encryptVirtualMemory.sh
I receive the following errors:
/usr/sbin/jamf is version 7.01
Executing Policy ACI Compliance Preferences...
Downloading http://zaphod.it.anl.gov:80/CasperShare/Scripts//enableFileSharing.sh
...
Running Script enableFileSharing.sh...
Script Exit Code:2
Script Result: /private/tmp/enableFileSharing.sh: line 1: syntax error
near unexpected token `newline'
/private/tmp/enableFileSharing.sh: line 1: `'
Downloading http://zaphod.it.anl.gov:80/CasperShare/Scripts//enableFirewall.sh
...
Running Script enableFirewall.sh...
Script Exit Code:2
Script Result: /private/tmp/enableFirewall.sh: line 1: syntax error
near unexpected token `newline'
/private/tmp/enableFirewall.sh: line 1: `'
Downloading http://zaphod.it.anl.gov:80/CasperShare/Scripts//encryptVirtualMemory.sh
...
Running Script encryptVirtualMemory.sh...
Script Exit Code:2
Script Result: /private/tmp/encryptVirtualMemory.sh: line 1: syntax
error near unexpected token `newline'
/private/tmp/encryptVirtualMemory.sh: line 1: `'
Downloading http://zaphod.it.anl.gov:80/CasperShare/Scripts//ACIsetTimeServer.sh
...
Running Script ACIsetTimeServer.sh...
Script Exit Code:2
Script Result: /private/tmp/ACIsetTimeServer.sh: line 1: syntax error
near unexpected token `newline'
/private/tmp/ACIsetTimeServer.sh: line 1: `'
I'm running the scripts has a policy that execute at login, (tried
startup as well). I tried hard coding the values into the script, and
specifying the value in parameter 4 of JSS.
Any ideas why the script does not work? When hard coded, script runs
fine in terminal.
Anthony Avarca
aavarca at anl.gov
630.252.4940
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.jamfsoftware.com/pipermail/casper/attachments/20091009/c8c5ff82/attachment.htm>
More information about the Casper
mailing list