Hi guys,
We've been supplied a pearl script that we need to run @ login on each mac.
I'm trying to pass variables to it, but am sadly not use to pearl & as this script is for a proprietry solution (NetConsent is the program fyi) I'd not be comfortable re-writing it in bash.
Anyways. What I have so far is:
&Debug ("Username is: $3");
&Debug ("domain (0) is: $2");
&Debug ("NETconsentServer is: $6");
This runs at login. So $2 & $3 are populated then via the jamf binary. $6 is passed as a parameter via the policy.
Pretty normal stuff, but the script does not seem to get these variables.
NETconsent Debug: Username is:
NETconsent Debug: domain (0) is:
NETconsent Debug: NETconsentServer is:
Any idea?
Ben Toms
IT Support Analyst GREY Group
The Johnson Building, 77 Hatton Garden, London, EC1N 8JS
T: +44 (0) 20-3037-3819 |
Main: +44 (0) 20 3037 3000 | IT Helpdesk: +44 (0) 20 3037 3883