[Casper] run script as different user?

Thomas Larkin tlarki at kckps.org
Wed Aug 20 08:54:59 PDT 2008


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
>




More information about the Casper mailing list