Skip to main content
Question

Managed Preferences and Admins

  • November 4, 2011
  • 5 replies
  • 15 views

I have setup Managed Preferences in Casper. When I login with a local Admin account it get managed. How can I prevent local Admins form getting Managed by Managed Preferences in Casper with LION Macs?

Jade

5 replies

Forum|alt.badge.img+31
  • Honored Contributor
  • November 4, 2011

Casper only applies machine level MCX, which means everyone gets it. If you want to apply MCX to specific users or groups you will have to employ slightly different methods.

Here is what I do:

1) Use WGM on a client running off the local node 2) set all management settings I want and export it to a file 3) upload file into casper admin 4) post image script runs and creates local user account 5) manual trigger policy runs in post image script that runs another script that imports MCX files to that local user

-tom


Forum|alt.badge.img+2
  • New Contributor
  • October 17, 2013

Tom, Would you kindly share your post image script that creates the local user account and contains the manual trigger policy? Would you also share the script that imports MCX files to the local user? We have moved away from network and mobile accounts. Since Casper only applies machine level MCX, I would like to use individual user MCX as described above.


Forum|alt.badge.img+31
  • Honored Contributor
  • October 17, 2013

Hi Kendra,

I just opened up my copy of the script, which is a few years old and I apparently did it as a manual trigger policy. I can ask my old coworkers if they still have the original scripts and can post them.

Sorry,

Tom


Forum|alt.badge.img+11
  • Contributor
  • October 22, 2013

!/bin/bash

# import student MCX file

/usr/bin/dscl . -mcximport /Users/student /Volumes/CasperShare/Scripts/studentmcx.plist

exit 0


Forum|alt.badge.img+2
  • New Contributor
  • October 22, 2013

Thanks.