diff --git a/src/main.c b/src/main.c index dc66a15f..c7f2eb21 100644 --- a/src/main.c +++ b/src/main.c @@ -663,13 +663,6 @@ int main(int argc, char **argv) #ifdef HAVE_SETUID /* We'll only have getuid() if we also have setuid(), it's reasonable to * assume */ - if(!getuid() && getpid() != 1) /* Running as root! Don't allow this */ - { - fprintf(stderr, "ERROR: You should not run icecast2 as root\n"); - fprintf(stderr, "Use the changeowner directive in the config file\n"); - shutdown_subsystems(); - return 1; - } #endif /* setup default signal handlers */