|
Originally, Nigel Kersten of afp548.com, posted some very useful information about MCX Cacher, which is used for applying Managed Preferences. Read on for some of the options.
Where is MCXCacher located?
/System/Library/CoreServices/mcxd.app/Contents/Resources/MCXCacher
How do I use MCXCacher?
MCXCacher -U usershortname [-h homepath]
Creates (or overwrites an existing) mobile account on the current
machine for user "usershortname" with optional home path "homepath"
MCXCacher
Performs the pre-login checks and refreshes cache if required.
MCXCacher -u usershortname
Performs the post login checks and refreshes caches -- does
everything that "MCXCacher" does plus caches the current user's
mcx_settings
Flushes the cache (Mobile accounts not removed; but system is unmanaged)
"Dirties" the cache so that it will be refreshed at the next login
("MCXCacher" call by mcxd)
Puts the machine into an unmanaged state until the
next time it reconnects to the management server, so it's a rather
drastic thing to do. From memory, if you run this command, Mobile
Users won't be able to login at the loginwindow unless the machine
can connect to the management server at that time.
MCXCacher -d does the right thing in the vast majority of cases, and
as John DeTroye pointed out, runs at login/logout and
restart.
The -U flag with the -h option, as Nigel points out, is particulary useful when pointing to a user home directory that is not at the root partition.
|