[Casper] How to send unix commands via Casper

Leacy, Miles Miles.Leacy at PoloRalphLauren.com
Wed May 14 14:11:50 PDT 2008


....and if you make it a script, you can add it to configurations or execute
it on demand via Casper remote.

-- 
Miles Leacy
Senior Macintosh Technician
Polo Ralph Lauren
212-318-7603
miles.leacy at poloralphlauren.com




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

> Call me a beard stroking old school Unix guy, but I like having scripts that I
> can use to run many configurations at once, instead of manually pipping in
> codes into the JSS.  Also, I can run several test runs on scripts on a machine
> locally before I toss it up on the JSS.
> 
> Just my method is all.  To each their own.
> 
> Thomas Larkin
> TIS Department
> KCKPS USD500
> tlarki at kckps.org
> cell:  913-449-7589
> office:  913-627-0351
>>>> >>> "Ernst, Craig S." <ERNSTCS at uwec.edu> 05/14/08 3:37 PM >>>
> 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
> 
> 
> _______________________________________________
> Casper mailing list
> Casper at list.jamfsoftware.com
> http://list.jamfsoftware.com/mailman/listinfo/casper
> 







This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. If you have received this communication in error, please immediately notify the sender and delete the message from your system.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20080514/216ad8cf/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5731 bytes
Desc: not available
Url : http://list.jamfsoftware.com/pipermail/casper/attachments/20080514/216ad8cf/attachment-0001.png 


More information about the Casper mailing list