Some functions in Mac OS x need the root privilege to run.
Such as create a raw socket, use ioctl( ) to change the HOST IP address.
How can I transfer my privilege into root in the program.
The default condition is that I know the system manager's user name and password.
Thanks in advanced.