I am trying to use setuid() to avoid having to run my svgalib program as root. In my simple minded way, I logged on as root, did an id; and saw that my uid was 0 (number 0). In the main program, I included #include <unistd.h>, and then the command setuid(0); When I ran the program as a mere mortal, "insuficient IO priviledges" error occured again. What am I missing? Thanks in advance. Joe Miller
- Re: setuid(root) Joseph Miller
- Re: setuid(root) Martijn van Oosterhout
- Re: setuid(root) Russell Marks
