<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'>Anything beyond a simple one-liner command I can see that. I still use scripts as well. Beard stroking old school Unix guy, nice. I have a beard...<BR>
<BR>
Craig<BR>
<BR>
<BR>
On 5/14/08 3:54 PM, "Thomas Larkin" <<a href="tlarki@kckps.org">tlarki@kckps.org</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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.<BR>
<BR>
Just my method is all. To each their own.<BR>
<BR>
Thomas Larkin<BR>
TIS Department<BR>
KCKPS USD500<BR>
<a href="tlarki@kckps.org">tlarki@kckps.org</a><BR>
cell: 913-449-7589<BR>
office: 913-627-0351<BR>
>>> "Ernst, Craig S." <<a href="ERNSTCS@uwec.edu">ERNSTCS@uwec.edu</a>> 05/14/08 3:37 PM >>><BR>
Why make it a script? That's an extra step. Just add that command to the advanced tab of the policy.<BR>
<BR>
Craig<BR>
<BR>
On 5/14/08 3:34 PM, "Thomas Larkin" <<a href="tlarki@kckps.org">tlarki@kckps.org</a>> wrote:<BR>
<BR>
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!<BR>
<BR>
Easy cheesy<BR>
<BR>
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.<BR>
<BR>
Thomas Larkin<BR>
TIS Department<BR>
KCKPS USD500<BR>
<a href="tlarki@kckps.org">tlarki@kckps.org</a><BR>
cell: 913-449-7589<BR>
office: 913-627-0351<BR>
>>> "Weber, Jason" <<a href="Jason.Weber@district196.org">Jason.Weber@district196.org</a>> 05/14/08 3:17 PM >>><BR>
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 "Built-in Ethernet" 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>
_______________________________________________<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>
<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>