An XDA forum member named rodrigojfuentes has come up with a method to root all Motorola phones that are currently running Gingerbread. If you have a computer running Linux, you’re ready to get started. PC and Mac users will need to run a Linux virtual machine to continue. From the command line, you just run a few commands, alter a few files, flash, and voilá… root attained! Ready to get started? Read the full directions very carefully at the source link below.
source: xda forums