[Casper] How to send unix commands via Casper

Ernst, Craig S. ERNSTCS at uwec.edu
Wed May 14 13:37:35 PDT 2008


Why make it a script? That's an extra step. Just add that command to the advanced tab of the policy.

Craig

On 5/14/08 3:34 PM, "Thomas Larkin" <tlarki at kckps.org> wrote:

use that command, create a script, toss it on casper admin, sync it to your JSS, then create a policy that runs that script, voila you are done!

Easy cheesy

I have like, 20 different configuration scripts running as simple policies for things just like that, proxies, preferences, removing unwanted or old software, changing passwords, etc.

Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
cell:  913-449-7589
office:  913-627-0351
>>> "Weber, Jason" <Jason.Weber at district196.org> 05/14/08 3:17 PM >>>
Hello all..

We've been using Casper here for a few months now, and it's been working
great. For the most part we have been using packages for any configuration
and install procedures so have not needed to use scripts much other than to
trigger a package install or create user accounts.

My question is, how do you use Casper to send unix commands?

Example, I would like to change the proxy settings on all my Macs and I do
not want to copy out a plist.

With ARD I can just send out this command:

networksetup -setwebproxy "Built-in Ethernet" proxy.company.com 80

How would I accomplish this same thing in Casper??

Any help is much appreciated!

--
Jason Weber
Technology Support Cluster Specialist
Independent School District 196


_______________________________________________
Casper mailing list
Casper at list.jamfsoftware.com
http://list.jamfsoftware.com/mailman/listinfo/casper

_______________________________________________
Casper mailing list
Casper at list.jamfsoftware.com
http://list.jamfsoftware.com/mailman/listinfo/casper

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20080514/f10b0316/attachment.html 


More information about the Casper mailing list