Flush mcx_cache to resolve Server login issues
Flush mcx_cache to resolve Server login issues . What is more annoying than mcx_cache when dealing with clients in a Mac OS X Server Lab? Have your received a window saying that you are not permitted to log in? And you 100% sure that everything is set up correctly; login might even have worked for days until this shows up!
Flush mcx_cache to resolve Server login issues
What is more annoying than mcx_cache when dealing with clients in a Mac OS X
Server Lab? Have your received a window saying that you are not permitted to log in?
And you 100% sure that everything is set up correctly; login might even have worked
for days until this shows up!
In most cases (at least here), this is because of this annoying cache file, storing
information about your Mac OS X Server. Destroying this directory from NetInfo has
been 100% painless in all ways here, as it is re-created again at the next log in.
This can be done manually by destroying it from the NetIn fo Manager app, but this
can be time consuming in lab setting or large school.
The solution was to create a cron script to run a command that did this automatically
or to Send a UNIX command in Remote Desktop to selected workstations.
As the user, root, run the following command: niutil -destroy . /mcx_cache
What is more annoying than mcx_cache when dealing with clients in a Mac OS X
Server Lab? Have your received a window saying that you are not permitted to log in?
And you 100% sure that everything is set up correctly; login might even have worked
for days until this shows up!
In most cases (at least here), this is because of this annoying cache file, storing
information about your Mac OS X Server. Destroying this directory from NetInfo has
been 100% painless in all ways here, as it is re-created again at the next log in.
This can be done manually by destroying it from the NetIn fo Manager app, but this
can be time consuming in lab setting or large school.
The solution was to create a cron script to run a command that did this automatically
or to Send a UNIX command in Remote Desktop to selected workstations.
As the user, root, run the following command: niutil -destroy . /mcx_cache