<HTML>
<HEAD>
<TITLE>Re: [Casper] How to send unix commands via Casper</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>...and if you make it a script, you can add it to configurations or execute it on demand via Casper remote.<BR>
<BR>
-- <BR>
Miles Leacy<BR>
Senior Macintosh Technician<BR>
Polo Ralph Lauren<BR>
212-318-7603<BR>
miles.leacy@poloralphlauren.com<BR>
<IMG src="cid:3293629910_11661264" ><BR>
<BR>
<BR>
<BR>
On 5/14/08 4:54 PM, "Thomas Larkin" <tlarki@kckps.org> wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><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>
tlarki@kckps.org<BR>
cell: 913-449-7589<BR>
office: 913-627-0351<BR>
>>> "Ernst, Craig S." <ERNSTCS@uwec.edu> 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" <tlarki@kckps.org> 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>
tlarki@kckps.org<BR>
cell: 913-449-7589<BR>
office: 913-627-0351<BR>
>>> "Weber, Jason" <Jason.Weber@district196.org> 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>
Casper@list.jamfsoftware.com<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>
Casper@list.jamfsoftware.com<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>
Casper@list.jamfsoftware.com<BR>
<a href="http://list.jamfsoftware.com/mailman/listinfo/casper">http://list.jamfsoftware.com/mailman/listinfo/casper</a><BR>
<BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
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.
</BODY>
</HTML>