Hi, I am currently writing a little program that can partition and initialize a new hard drive from the console. The program is almost done but I need to log in as root to get permission to partition a HD.
I would like the program to be able to partition and format without logging in as root - I tried the function setuid() but that failed… Any good ideas ?
Thanks
/Rene