[Casper] Bash Scripts using ~

dhowell at austinisd.org dhowell at austinisd.org
Tue Apr 21 11:37:43 PDT 2009


Craig, 

I am just trying to get them to work in Self Service now, or even push 
them out through Remote. 

When I hard code it , it works. I just can't get it to reconize any 
variables

I have used $1, $3, $home, ~

still no luck

D. Trey Howell
trey.howell at austinisd.org
Desktop Engineering
414-0102

Secret Windows code: while (1) { if (num_process > 1) { 
bluescreen(rand()); } }

This email message, including all attachments, is for the sole use of the 
intended recipient(s) and may contain confidential student and/or employee 
information.  Unauthorized use of disclosure is prohibited under the 
federal Family Education Rights & Privacy Act (20 U.S.C. §1232g, 34 CFR 
Part 99, 19 TAC 247.2, Gov&#8217, t Code 552.023, Educ. Code 21.355, 29 
CFR 1630.14(b)(c)).  If you are not the intended recipient, you may not 
use, disclose, copy or disseminate this information.  Please call the 
sender immediately or reply by email and destroy all copies of the 
original message, including attachments.




"Ernst, Craig S." <ERNSTCS at uwec.edu>
 
04/21/2009 01:22 PM

To
"dhowell at austinisd.org" <dhowell at austinisd.org>, Casper List 
<casper at list.jamfsoftware.com>
cc

Subject
Re: [Casper] Bash Scripts using ~






If you go into your JSS under the Management Tab -> Management 
Preferences, what do you have checked for options under the Create 
Login/Logout Hooks section?

Are you seeing the policies triggered and attempting to run the script 
under /var/jamf.log?

Craig E


On 4/21/09 10:46 AM, "dhowell at austinisd.org" <dhowell at austinisd.org> 
wrote:


I can't get any of my login hooks to work in Casper self service. I do 
have other scripts that work 

It seems anytime I use the ~ for logged in user it doesn't work. 


Is this treated differently in Casper. I run it in terminal it works fine. 
I am sure It is me doing something wrong 


D. Trey Howell
trey.howell at austinisd.org
Desktop Engineering

Secret Windows code: while (1) { if (num_process > 1) { 
bluescreen(rand()); } }

This email message, including all attachments, is for the sole use of the 
intended recipient(s) and may contain confidential student and/or employee 
information.  Unauthorized use of disclosure is prohibited under the 
federal Family Education Rights & Privacy Act (20 U.S.C. §1232g, 34 CFR 
Part 99, 19 TAC 247.2, Gov&#8217, t Code 552.023, Educ. Code 21.355, 29 
CFR 1630.14(b)(c)).  If you are not the intended recipient, you may not 
use, disclose, copy or disseminate this information.  Please call the 
sender immediately or reply by email and destroy all copies of the 
original message, including attachments.

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


More information about the Casper mailing list