Sandwiches. Patrick Thomson 14 years ago #include <stdio.h> #include <unistd.h> int main (int argc, const char * argv[]) { if(getuid() != 0) { printf("What? Make it yourself.\n"); return 1; } else { printf("Okay.\n"); return 0; } } Share this: RelatedA Deeply Skeptical Look at C++0xAugust 20, 2008In "code"Whither High School Computer Science?May 11, 2007In "code"jQuery is a MonadJanuary 18, 2009In "code"