10.5: Prevent users from ejecting CDs with dscl |
|
|
Sometimes in may become necessary to restrict access to local resources to certain users on a given workstation. In the past, NetInfo was the easiest way of accomplishing that finite control. Now with 10.5, that tool is no longer available, but has been replaced with the ever-popular dscl.Recently I acquired a 10.5 machine for my two kids, and it became necessary to lock their access to the CD-ROM (since they broke the one on the 10.3 machine). Using some of the information I've gathered in the past from this site, I managed to put together the necessary command line arguments to lock that access. Read on for my solution.
Here's what I did:Output the mcx_settings to a text file saved to the root directory:dscl . -read /Users/kids mcx_settings > /mcx_settings.txtOpened this text file and found the entry for com.appl...
|