gksudo for mac

Hi All,

I am searching for "gksudo" 's alternative in Mac.... I am developing a application that requires sudo permissions. I would like to display a pop-up to ask for sudo password. I have googled it and got to know about "cocoasudo". But cocoasudo needs to be installed.
Is there any inbuilt utility in Mac to achieve this.

Regards,
akash

I guess "su - root -c 'command' " is too crude?