From 1bd130bf94aa7ea2fde2bff7db4c35a2850519d2 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 28 Aug 2018 13:05:10 -0700 Subject: [PATCH] construct: Remove the startup root euid check. gl;hf. --- construct/construct.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/construct/construct.cc b/construct/construct.cc index 5d0aa6e10..0f1d7bc55 100644 --- a/construct/construct.cc +++ b/construct/construct.cc @@ -200,11 +200,6 @@ bool startup_checks() try { - #ifndef _WIN32 - if(geteuid() == 0) - throw ircd::error("Don't run ircd as root!!!"); - #endif - fs::chdir(fs::get(fs::PREFIX)); return true; }