+1 Ashwin
Cyanogenmod needs you to flash itself on your phone, changing the whole OS, which you might not want to do for just root permissions, and do be careful if you go for it, the latest Cyanogenmod builds are buggy sometimes, install a stable one just to be sure you can use all the features of your device.