<br><font size=2 face="sans-serif">Is your OD binding problem solved with
this tip?</font>
<br>
<br><font size=2 face="sans-serif">http://support.apple.com/kb/TS1245</font>
<br>
<br><font size=2 face="sans-serif">It's a common one when imaging 10.5,
like the local SID in Windows if you have done MS imaging as well.</font>
<br>
<br>
<br><font size=2 face="sans-serif">In fact if anyone from JAMF is on this
list, this would be a great feature to add when a 10.5 machine is first
imaged. The first thing a machine should do is change the local KDC
hash so each one is unique per machine. It seems to me to be enough
of a problem that the imaging tools should take care of it, not a custom
script by us users.</font>
<br>
<br><font size=2 face="sans-serif">____________________<br>
Bob Wessen<br>
System Administrator<br>
IS System Production Services<br>
4 Hayden Hall<br>
Northeastern University<br>
C: (617) 799-4905 <br>
http://www.infoservices.neu.edu</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Jeremy Matthews <jeremymatthews@mac.com></b>
</font>
<br><font size=1 face="sans-serif">Sent by: casper-bounces@list.jamfsoftware.com</font>
<p><font size=1 face="sans-serif">08/20/2008 12:40 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Thomas Larkin <tlarki@kckps.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">casper@list.jamfsoftware.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Casper] run script as different
user?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Tried applying to all users - the file is created,
but I then have to <br>
go in a muck around with ownership - or else it gets overwritten when <br>
certain apps are launched and cannot find a valid plist. If I try to <br>
return the session user during an installation, it is usually root.<br>
<br>
Our 10.5 server is working, but clients are not binding properly, so <br>
MCX attributes are out - unless I want to push those out as well, but <br>
pointless until it is set for production.<br>
<br>
It was my understanding that composer used packagemaker, and therefore
<br>
during an "installation", runs as root - which brings me back
to the <br>
issue - script needs to run as a different user - without me asking <br>
the user to authenticate.<br>
<br>
Tried the tilde - didn't work.<br>
<br>
Config file sounds interesting....what is that about?<br>
<br>
Thanks,<br>
j<br>
<br>
On Aug 20, 2008, at 11:54 AM, Thomas Larkin wrote:<br>
<br>
> You can do this many ways.<br>
><br>
> use a wild card and apply to all users<br>
><br>
> enforce it from MCX if you are running Open Directory<br>
><br>
> Use composer and take a snap shot of the modification and assign it
<br>
> to smart groups with in casper, then deploy<br>
><br>
> set it up as a self service policy and use the ~/ for that users plist<br>
><br>
> set it in the (forgot the file path) configuration file that pushes
<br>
> out new user settings every time a user is created<br>
><br>
> What exactly are you trying to do?<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>
>>>> Jeremy Matthews <jeremymatthews@mac.com> 08/20/08
10:49 AM >>><br>
> I want to write defaults to a plist for a user that won't get horked.<br>
> Needs to be pre-created...<br>
><br>
> Thanks,<br>
> jeremy<br>
><br>
> On Aug 20, 2008, at 11:42 AM, Thomas Larkin wrote:<br>
><br>
>> May I ask why you would want to do this?<br>
>><br>
>> If you can script it, Casper can and will run it. If we
know your<br>
>> higher goal perhaps we can better answer your question.<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>
>>>>> Jeremy Matthews <jeremymatthews@mac.com> 08/20/08
10:35 AM >>><br>
>> Casper can run scripts against your box, but it does so as a root
<br>
>> user<br>
>> - what if I want to run the script as a different user, such as
the<br>
>> one who is logged in - without prompting for a password (like
su-)?<br>
>><br>
>> Thanks,<br>
>> j<br>
>> _______________________________________________<br>
>> Casper mailing list<br>
>> Casper@list.jamfsoftware.com<br>
>> http://list.jamfsoftware.com/mailman/listinfo/casper<br>
>><br>
><br>
><br>
<br>
_______________________________________________<br>
Casper mailing list<br>
Casper@list.jamfsoftware.com<br>
http://list.jamfsoftware.com/mailman/listinfo/casper<br>
</font></tt>
<br>