<HTML>
<HEAD>
<TITLE>Re: [Casper] How to send unix commands via Casper</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Jason,<BR>
<BR>
</SPAN></FONT><UL><LI><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Open up a Casper to a Remote window
</SPAN></FONT><LI><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Check all the machines you want to send the command to
</SPAN></FONT><LI><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Go the advanced tab
</SPAN></FONT><LI><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Enter your command into the Run Command field (check to run as root if necessary)
</SPAN></FONT><LI><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Click GO<BR>
</SPAN></FONT></UL><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
Or you could set it up as a policy to run at next startup or whenever. The top option assumes every machine you want to target will be on and accessible when you hit go.<BR>
<BR>
Craig Ernst<BR>
Systems Management &amp; Configuration<BR>
----------------------------------<BR>
University of Wisconsin-Eau Claire<BR>
Learning &amp; Technology Services<BR>
105 Garfield Ave<BR>
Eau Claire, WI 54701<BR>
Phone: (715) 836-3639<BR>
Fax: (715) 836-6001<BR>
----------------------------------<BR>
<a href="ernstcs@uwec.edu">ernstcs@uwec.edu</a><BR>
<BR>
<BR>
<BR>
On 5/14/08 3:17 PM, &quot;Weber, Jason&quot; &lt;<a href="Jason.Weber@district196.org">Jason.Weber@district196.org</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hello all..<BR>
<BR>
We've been using Casper here for a few months now, and it's been working<BR>
great. For the most part we have been using packages for any configuration<BR>
and install procedures so have not needed to use scripts much other than to<BR>
trigger a package install or create user accounts.<BR>
<BR>
My question is, how do you use Casper to send unix commands?<BR>
<BR>
Example, I would like to change the proxy settings on all my Macs and I do<BR>
not want to copy out a plist.<BR>
<BR>
With ARD I can just send out this command:<BR>
<BR>
networksetup -setwebproxy &quot;Built-in Ethernet&quot; proxy.company.com 80<BR>
<BR>
How would I accomplish this same thing in Casper??<BR>
<BR>
Any help is much appreciated!<BR>
<BR>
--<BR>
Jason Weber<BR>
Technology Support Cluster Specialist<BR>
Independent School District 196<BR>
<BR>
<BR>
_______________________________________________<BR>
Casper mailing list<BR>
<a href="Casper@list.jamfsoftware.com">Casper@list.jamfsoftware.com</a><BR>
<a href="http://list.jamfsoftware.com/mailman/listinfo/casper">http://list.jamfsoftware.com/mailman/listinfo/casper</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>