Subscribe to our RSS news feed
AAPL 199.94 (-1.25)

Desktop Manager 0.6 - Universal Binary, Now with fixed mach_inject!
**
  • Group: Members
  • Posts: 55
  • Joined: 4-August 05
  • Member No.: 3,009
Our good friend Bertrand Guihéneuf, former Apple employee, and the man responsible for iCal, has ported a UniBin version of the Desktop Manager 0.6 Snapshot from SVN, along with a fixed version of the mach_inject function (He is actually the person responsible for porting mach_inject to Intel as well...). It works very well and has a new look and new functionality. It is however, still not complete as far as I know. Give it a go if you would like a great, stable virtual desktop app.

Desktop Manager 0.6 Universal Binary (It says it is 0.5.3, but the app is really version 0.6)

P.S.

For anyone running 10.4.4 or above:

Important restriction: In 10.4.4 (intel build), Apple removed the ability to send low-level mach commands from one task to another.

A task trying to control another one must now be root or belong to the procmod group.

If you want to allow mach_inject to work again for your account, you need to add yourself to the procmod group.

Another option is to enable it to work for all accounts on the system, by changing the security policy for task_for_pid().

Please understand that both options re-open what some consider as a security risk.


Enabling mach_inject for your account

One way to do it is to execute the following command in a terminal:

CODE
sudo niutil -appendprop "/" "/groups/procmod" "users" `id -un`


Unfortunately, group modifications are not taken into account immediately. You have to wait one minute or two before the kernel realizes you now belong to procmod (yes, memberd -r normally resets the cache, but the kernel seems to maintain it’s own cache). Obviously, rebooting your computer will empty kernel cache.

To remove yourself from procmod group, use the inverse command:

CODE
sudo niutil -destroyval "/" "/groups/procmod" "users" `id -un`


To check who is in the procmod group, use the following command:

CODE
sudo niutil -readprop "/" "/groups/procmod" "users"



Enabling mach_inject for all accounts

You can do this by changing the security policy for task_for_pid():

CODE
sudo sysctl -w kern.tfp.policy=1


You can disable mach_inject back with :

CODE
sudo sysctl -w kern.tfp.policy
PM Profile Card
Go to the top of the page
+ Quote Post

Posts in this topic
- Jason_Thames   Desktop Manager 0.6 - Universal Binary   Mar 18 2006, 07:25 AM
- - natefrogg   i followed your instructions, but it won't run...   Mar 18 2006, 09:31 AM
- - Jason_Thames   Desktop Manager is running as a menu item now... i...   Mar 18 2006, 03:39 PM
- - alc0h0lic   Thx, 0.6 works great   Mar 18 2006, 05:50 PM
- - domino   It's back and better than ever . Tested on 10....   Mar 18 2006, 06:44 PM
- - Jason_Thames   Well... My "Guess" is that the mach_inje...   Mar 19 2006, 12:32 AM
- - JimBob   Great Program! I thought I read somewhere t...   Mar 20 2006, 10:42 PM
- - domino   I picked up something from MacUpdate but I haven...   Mar 22 2006, 05:13 AM
- - thelord   Hi, I've downloaded virtue, and pretty much li...   Mar 25 2006, 07:40 PM
- - domino   Post #9, why are you still editing the security po...   Mar 25 2006, 07:49 PM
- - thelord   Hi, thanx for interesting, I'm afraid I don...   Mar 25 2006, 08:28 PM
- - thelord   Tada, I finally did it =) I created new group name...   Mar 25 2006, 11:43 PM
- - domino   Great job! Now you did all that for the sake o...   Mar 25 2006, 11:51 PM
- - Jason_Thames   Linky updated... Regards, -Jason   Apr 6 2006, 09:09 AM
|- - xtraa   QUOTE (Jason_Thames @ Apr 6 2006, 11:09 A...   Jun 2 2006, 11:26 AM
- - cyclonefr   same here   Jun 2 2006, 11:46 AM
|- - xtraa   QUOTE (cyclonefr @ Jun 2 2006, 01:46 PM) ...   Jun 2 2006, 04:08 PM
- - cyclonefr   hum virtuedesktops isnt the same interface... i...   Jun 2 2006, 04:16 PM
- - BRP   So, who else here is using a SmackBook?   Jun 4 2006, 02:23 AM
- - kinlen   thanks,i like it.   Jun 4 2006, 02:39 AM

Reply to this topic Start new topic

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 22nd November 2009 - 12:02 PM