Code cannot be executed with root privileges under Linux. Why?
Hi, guys! The first requirement for my architecture is work as root. I try to run dedicated server under Linux, but it crash with message: "Refusing to run with the root privileges." But it works, if I run it as a simple user. Checking in "Engine\Source\Runtime\Core\Private\Linux\LinuxPlatformMemory.cpp:30" is reason of my problem, which does the impossible execution of code with root privileges. Why you didn't leave chances to run my code as root? For example, via command line parameters?
asked Sep 03 '15 at 08:36 AM in Bug Reports
We used to allow in the past, but this is really risky - we cannot give any guarantees that the code does not wipe your drive or won't be used by malicious third parties to compromise your system. I suggest that instead of running under root, you start the server under a user that has sufficient privileges. However, if you really need root, you can change that line and recompile.
answered Sep 03 '15 at 02:36 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here