[Casper] run script as different user?
r.wessen at neu.edu
r.wessen at neu.edu
Wed Aug 20 10:04:45 PDT 2008
Is your OD binding problem solved with this tip?
http://support.apple.com/kb/TS1245
It's a common one when imaging 10.5, like the local SID in Windows if you
have done MS imaging as well.
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.
____________________
Bob Wessen
System Administrator
IS System Production Services
4 Hayden Hall
Northeastern University
C: (617) 799-4905
http://www.infoservices.neu.edu
Jeremy Matthews <jeremymatthews at mac.com>
Sent by: casper-bounces at list.jamfsoftware.com
08/20/2008 12:40 PM
To
Thomas Larkin <tlarki at kckps.org>
cc
casper at list.jamfsoftware.com
Subject
Re: [Casper] run script as different user?
Tried applying to all users - the file is created, but I then have to
go in a muck around with ownership - or else it gets overwritten when
certain apps are launched and cannot find a valid plist. If I try to
return the session user during an installation, it is usually root.
Our 10.5 server is working, but clients are not binding properly, so
MCX attributes are out - unless I want to push those out as well, but
pointless until it is set for production.
It was my understanding that composer used packagemaker, and therefore
during an "installation", runs as root - which brings me back to the
issue - script needs to run as a different user - without me asking
the user to authenticate.
Tried the tilde - didn't work.
Config file sounds interesting....what is that about?
Thanks,
j
On Aug 20, 2008, at 11:54 AM, Thomas Larkin wrote:
> You can do this many ways.
>
> use a wild card and apply to all users
>
> enforce it from MCX if you are running Open Directory
>
> Use composer and take a snap shot of the modification and assign it
> to smart groups with in casper, then deploy
>
> set it up as a self service policy and use the ~/ for that users plist
>
> set it in the (forgot the file path) configuration file that pushes
> out new user settings every time a user is created
>
> What exactly are you trying to do?
>
> Thomas Larkin
> TIS Department
> KCKPS USD500
> tlarki at kckps.org
> cell: 913-449-7589
> office: 913-627-0351
>>>> Jeremy Matthews <jeremymatthews at mac.com> 08/20/08 10:49 AM >>>
> I want to write defaults to a plist for a user that won't get horked.
> Needs to be pre-created...
>
> Thanks,
> jeremy
>
> On Aug 20, 2008, at 11:42 AM, Thomas Larkin wrote:
>
>> May I ask why you would want to do this?
>>
>> If you can script it, Casper can and will run it. If we know your
>> higher goal perhaps we can better answer your question.
>>
>> Thomas Larkin
>> TIS Department
>> KCKPS USD500
>> tlarki at kckps.org
>> cell: 913-449-7589
>> office: 913-627-0351
>>>>> Jeremy Matthews <jeremymatthews at mac.com> 08/20/08 10:35 AM >>>
>> Casper can run scripts against your box, but it does so as a root
>> user
>> - what if I want to run the script as a different user, such as the
>> one who is logged in - without prompting for a password (like su-)?
>>
>> Thanks,
>> j
>> _______________________________________________
>> Casper mailing list
>> Casper at list.jamfsoftware.com
>> http://list.jamfsoftware.com/mailman/listinfo/casper
>>
>
>
_______________________________________________
Casper mailing list
Casper at list.jamfsoftware.com
http://list.jamfsoftware.com/mailman/listinfo/casper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20080820/5ea6f668/attachment.htm
More information about the Casper
mailing list